X and S Latch Using DOS Semaphores (S-Priority) and Other Serialization Considerations in the OS/2 Environment
Original Publication Date: 1989-Aug-01
Included in the Prior Art Database: 2005-Jan-28
A method is described to provide an S and X-latch function with S- latch priority using OS/2* Standard Edition semaphores. The method addresses the common multiprocessing problem of serializing updates and waiting for either availability of resources or for work to do. Although OS/2 allows the usage of a single semaphore for both serialization and wait/post operations, usage of a single semaphore for both of these purposes causes intermittent hangs.