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

pthread_rwlock_t

Read/Write lock type (opaque)

Declaration

Source position: ptypes.inc line 235

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.

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