semaphore.*: Added back in OS_bWait OS_bSignal and old semaphore definition as commented out sections