The enhanced semaphore functions available under OS/2 Version 2.0 were described in Operating System/2. Previous versions of OS/2 provided only basic semaphore facilities with limited capability to handle multiple events. Where these semaphores were used in applications under previous versions of OS/2, they may be updated to the new OS/2 Version 2.0 semaphore facilities using the following guidelines:
The muxwait semaphore has additional flexibility over the use of the DosMuxWaitSem()
function with normal semaphores under previous versions of OS/2, since
with a muxwait semaphore, a thread may wait for any one of a list
of mutex semaphores or event semaphores to be cleared (as with previous
versions), or may wait for all of the semaphores to be cleared. This
latter capability is not available under OS/2 Version 1.3.
The enhanced semaphore functions available under OS/2 Version 2.0 are described in the IBM OS/2 Version 2.0 Control Program Reference.