ctThrdSemapGet Get one unit of a semaphore. Short Name ctThrdSemapGet() Type Threading function Declaration NINT ctThrdSemapGet(pctSEMAP semap) Description Attempts to get one unit of the semaphore referenced by semap. The thread will block indefinitely until a unit of the semaphore is available. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. Limitations Can only be used with a ctThrd library. See also ctThrdSemapCls(), ctThrdSemapInit(), ctThrdSemapRel(), ctThrdSemapTry() |
||||||||||||||||||||||||