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

pthread_attr_t

Thread attributes record. Opaque.

Declaration

Source position: ptypes.inc line 148

type pthread_attr_t = record

  __detachstate: cInt;

  

?

  __schedpolicy: cInt;

  

?

  __schedparam: sched_param;

  

?

  __inheritsched: cInt;

  

?

  __scope: cInt;

  

?

  __guardsize: size_t;

  

?

  __stackaddr_set: cInt;

  

?

  __stackaddr: pointer;

  

?

  __stacksize: size_t;

  

?

end;

Description

pthread_attr_t describes the thread attributes. It should be considered an opaque record, the names of the fields can change anytime. Use the appropriate functions to set the thread attributes.