[Toc][Index]

DosFSRamSemClear


Bindings:  C, MASM 

This call releases ownership of a Fast-Safe (FS) RAM semaphore. 
 DosFSRamSemClear     (FSRamSemStructure) 
 
 FSRamSemStructure (PDOSFSRSEM) - input 
    Address of the FS RAM Semaphore data structure. The content/format of 
    this structure is shown in DosFSRamSemRequest. 
 rc (USHORT) - return 
    Return code description is: 
    0         NO_ERROR 
 
 Remarks 
 DosFSRamSemClear decrements fs_UseCount, which is incremented by 
 DosFSRamSemRequest. Recursive requests for FS RAM semaphores are 
 supported by this use count, which keeps track of the number of times the 
 owner has issued a DosFSRamSemRequest without a corresponding 
 DosFSRamSemClear. If the call to DosFSRamSemClear decrements the use 
 count to zero, the semaphore is set unowned, and any threads that were 
 blocked waiting for the semaphore resume execution. 
 DosFSRamSemClear cannot be issued against a FS RAM semaphore that is 
 owned by another thread. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs