(libc.info.gz) Default Thread Attributes

Info Catalog (libc.info.gz) Non-POSIX Extensions
 
 35.2.1 Setting Process-wide defaults for thread attributes
 ----------------------------------------------------------
 
 The GNU C Library provides non-standard API functions to set and get the
 default attributes used in the creation of threads in a process.
 
  -- Function: int pthread_getattr_default_np (pthread_attr_t *ATTR)
      Preliminary: | MT-Safe | AS-Unsafe lock | AC-Unsafe lock | 
      POSIX Safety Concepts.
 
      Get the default attribute values and set ATTR to match.  This
      function returns 0 on success and a non-zero error code on failure.
 
  -- Function: int pthread_setattr_default_np (pthread_attr_t *ATTR)
      Preliminary: | MT-Safe | AS-Unsafe heap lock | AC-Unsafe lock mem |
       POSIX Safety Concepts.
 
      Set the default attribute values to match the values in ATTR.  The
      function returns 0 on success and a non-zero error code on failure.
      The following error codes are defined for this function:
 
      'EINVAL'
           At least one of the values in ATTR does not qualify as valid
           for the attributes or the stack address is set in the
           attribute.
      'ENOMEM'
           The system does not have sufficient memory.
 
Info Catalog (libc.info.gz) Non-POSIX Extensions
automatically generated by info2html