Print this page
11586 NAME field in man pages should match what's installed
   1 PTHREAD_MUTEXATTR_GETROBUST(3C)                   Standard C Library Functions
   2 
   3 NAME
   4      pthread_mutexattr_getrobust, pthrad_mutexattr_setrobust - get and set the
   5      mutex robust attribute
   6 
   7 SYNOPSIS
   8      #include <pthread.h>
   9 
  10      int
  11      pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr,
  12          int *robust);
  13 
  14      int
  15      pthread_mutexattr_setrobust(pthread_mutexattr_t *attr, int robust);
  16 
  17 DESCRIPTION
  18      The pthread_mutexattr_getrobust() and pthread_mtuexattr_setrobust()
  19      functions obtain and set a mutex's robust attribute, putting it in, or
  20      obtaining it from robust.  The valid values for robust include:
  21 
  22      PTHREAD_MUTEX_STALLED
  23                    The mutex referred to by attr is a traditional mutex.  When
  24                    a thread holding an intra-process lock or a process holding
  25                    an inter-process lock crashes or terminates without


  49      The pthread_mutexattr_getrobust() function will fail if:
  50 
  51      EINVAL             attr is invalid or a null pointer, robust is a null
  52                         pointer.
  53 
  54      The pthread_mutexattr_setrobust() function will fail if:
  55 
  56      EINVAL             attr is invalid or a null pointer, robust is not one
  57                         of PTHREAD_MUTEX_STALLED or PTHREAD_MUTEX_ROBUST.
  58 
  59 INTERFACE STABILITY
  60      Committed
  61 
  62 MT-LEVEL
  63      MT-Safe
  64 
  65 SEE ALSO
  66      pthread_mutex_consistent(3C), pthread(3HEAD), libpthread(3LIB),
  67      attributes(5), mutex(5)
  68 
  69 illumos                        December 22, 2014                       illumos
   1 PTHREAD_MUTEXATTR_GETROBUST(3C)                   Standard C Library Functions
   2 
   3 NAME
   4      pthread_mutexattr_getrobust, pthread_mutexattr_setrobust - get and set
   5      the mutex robust attribute
   6 
   7 SYNOPSIS
   8      #include <pthread.h>
   9 
  10      int
  11      pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr,
  12          int *robust);
  13 
  14      int
  15      pthread_mutexattr_setrobust(pthread_mutexattr_t *attr, int robust);
  16 
  17 DESCRIPTION
  18      The pthread_mutexattr_getrobust() and pthread_mtuexattr_setrobust()
  19      functions obtain and set a mutex's robust attribute, putting it in, or
  20      obtaining it from robust.  The valid values for robust include:
  21 
  22      PTHREAD_MUTEX_STALLED
  23                    The mutex referred to by attr is a traditional mutex.  When
  24                    a thread holding an intra-process lock or a process holding
  25                    an inter-process lock crashes or terminates without


  49      The pthread_mutexattr_getrobust() function will fail if:
  50 
  51      EINVAL             attr is invalid or a null pointer, robust is a null
  52                         pointer.
  53 
  54      The pthread_mutexattr_setrobust() function will fail if:
  55 
  56      EINVAL             attr is invalid or a null pointer, robust is not one
  57                         of PTHREAD_MUTEX_STALLED or PTHREAD_MUTEX_ROBUST.
  58 
  59 INTERFACE STABILITY
  60      Committed
  61 
  62 MT-LEVEL
  63      MT-Safe
  64 
  65 SEE ALSO
  66      pthread_mutex_consistent(3C), pthread(3HEAD), libpthread(3LIB),
  67      attributes(5), mutex(5)
  68 
  69 illumos                         August 20, 2019                        illumos