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

pthread_rwlock_t

Read/Write lock type (opaque)

Declaration

Source position: ptypes.inc line 190

type pthread_rwlock_t = record

  __rw_readers: cInt;

  

?

  __rw_writer: pointer;

  

?

  __rw_read_waiting: pointer;

  

?

  __rw_write_waiting: pointer;

  

?

  __rw_kind: cInt;

  

?

  __rw_pshared: cInt;

  

?

end;

Description

pthread_rwlock_t describes a lock. It should be considered an opaque record, the names of the fields can change anytime.