F.77 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 Appendix A "c-tree Plus Error Codes" of the c-tree Plus Programmer's Reference Guide 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, and ctThrdSemapTry.
|
FairCom Corporation www.faircom.com |