Jump to content

CPGuide - Semaphores

From EDM2
Revision as of 22:12, 22 April 2020 by Martini (talk | contribs)

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

Control Program Programming Guide and Reference
  1. Introduction to the Control Program
  2. Control Program Functions
  3. Keyboard Functions
  4. Mouse Functions
  5. Video Functions
  6. Data Types
  7. Errors
  8. Debugging
  9. Kernel Debugger Communications Protocol
  10. Device I/O
  11. Dynamic Linking
  12. Error Management
  13. Exception Management
  14. Extended Attributes
  15. File Management
  16. File Names
  17. File Systems
  18. Generic IOCtl Commands
  19. Memory Management
  20. Message Management
  21. National Language Support
  22. Pipes
  23. Program Execution Control
  24. Queues
  25. Semaphores
  26. Timers
  27. Notices
  28. Glossary

About Semaphores

       Event Semaphores
       Mutual Exclusion (Mutex) Semaphores
       Multiple Wait (Muxwait) Semaphores
       Named and Anonymous Semaphores
       Semaphore Management 

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

       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

       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