ctThrdSemapTry Try once to get one unit of a semaphore. Short Name ctThrdSemapTry() Type Threading function Declaration NINT ctThrdSemapTry(pctSEMAP semap) Description Same as ctThrdSemapGet() except that if no unit of the semaphore is available, ctThrdSemapTry() returns NTIM_ERR (156). 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(), ctThrdSemapGet(), ctThrdSemapIni(), ctThrdSemapRel() |
||||||||||||||||||||||||