sem_t

Semaphore type. (opaque)

Declaration

Source position: ptypes.inc line 362

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.