CPGuide - Semaphores: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
==About Semaphores== | ==About Semaphores== | ||
===Event Semaphores=== | |||
===Mutual Exclusion (Mutex) Semaphores=== | |||
===Multiple Wait (Muxwait) Semaphores=== | |||
===Named and Anonymous Semaphores=== | |||
===Semaphore Management=== | |||
==Using Event Semaphores== | ==Using Event Semaphores== | ||
===Creating an Event Semaphore=== | |||
===Opening an Event Semaphore=== | |||
===Closing an Event Semaphore=== | |||
===Resetting an Event Semaphore=== | |||
===Posting an Event Semaphore=== | |||
===Waiting for an Event Semaphore=== | |||
===Querying an Event Semaphore=== | |||
==Using Mutex Semaphores== | ==Using Mutex Semaphores== | ||
===Creating a Mutex Semaphore=== | |||
===Opening a Mutex Semaphore=== | |||
===Requesting a Mutex Semaphore=== | |||
===Releasing a Mutex Semaphore=== | |||
===Closing a Mutex Semaphore=== | |||
===Querying a Mutex Semaphore=== | |||
==Using Muxwait Semaphores== | ==Using Muxwait Semaphores== | ||
===Creating a Muxwait Semaphore=== | |||
===Opening a Muxwait Semaphore=== | |||
===Closing a Muxwait Semaphore=== | |||
===Waiting for a Muxwait Semaphore=== | |||
===Adding a Semaphore to a Muxwait List=== | |||
===Deleting a Semaphore from a Muxwait List=== | |||
===Querying a Muxwait Semaphore=== | |||
[[Category:CPGuide]] | [[Category:CPGuide]] |
Revision as of 22:14, 22 April 2020
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation