GDI Semaphore Services
GDI provides a selection of services related to semaphores and safe semaphores. A driver can use these services to create or delete a semaphore, and acquire or release a semaphore.
Function | Description |
---|---|
Acquires the resource associated with the semaphore for exclusive access by the calling thread. |
|
Creates a semaphore object. |
|
Removes a reference to the specified safe semaphore. |
|
Deletes a semaphore object from the system's resource list. |
|
Initializes the specified safe semaphore. |
|
Determines whether any thread holds the specified semaphore. |
|
Determines whether the currently executing thread holds the specified semaphore. |
|
Releases the specified semaphore. |