[Overview][Constants][Types][Index] Reference for unit 'unixtype' (#rtl)

sem_t

Semaphore type. (opaque)

Declaration

Source position: ptypes.inc line 249

type sem_t = record

  __sem_lock: _pthread_fastlock;

  

?

  __sem_value: cint;

  

?

  __sem_waiting: pointer;

  

?

end;

Description

sem_t describes a thread semaphore. It should be considered an opaque record, the names of the fields can change anytime.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.