Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. pthread_mutex_consistent_np
  2.  
  3. Name
  4.  
  5. pthread_mutex_consistent_np -- mark state protected by robust
  6. mutex as consistent
  7.  
  8. Synopsis
  9.  
  10. #include <pthread.h>
  11.  
  12. int pthread_mutex_consistent_np(pthread_mutex_t * __mutex);
  13.  
  14. Description
  15.  
  16. pthread_mutex_consistent_np() shall behave as described for
  17. pthread_mutex_consistent() in POSIX 1003.1 2008.
  18.  
  19.  
  20. pthread_mutexattr_getrobust_np, pthread_mutexattr_setrobust_np
  21.  
  22. Name
  23.  
  24. pthread_mutexattr_getrobust_np,
  25. pthread_mutexattr_setrobust_np -- get and set the mutex robust
  26. attribute
  27.  
  28. Synopsis
  29.  
  30. #include <pthread.h>
  31.  
  32. int pthread_mutexattr_getrobust_np(const pthread_mutexattr_t *
  33. __attr, int * __robustness);
  34.  
  35. int pthread_mutexattr_setrobust_np(const pthread_mutexattr_t *
  36. __attr, int __robustness);
  37.  
  38. Description
  39.  
  40. pthread_mutexattr_setrobust_np() shall behave as described for
  41. pthread_mutexattr_setrobust() in POSIX 1003.1 2008.
  42.  
  43. pthread_mutexattr_getrobust_np() shall behave as described for
  44. pthread_mutexattr_getrobust() in POSIX 1003.1 2008.
  45.  
  46. Two additional valid values are defined for robust:
  47. PTHREAD_MUTEX_STALLED_NP, which is identical to
  48. PTHREAD_MUTEX_STALLED and PTHREAD_MUTEX_ROBUST_NP, which is
  49. identical to PTHREAD_MUTEX_ROBUST.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement