Lines Matching refs:attr
49 _pthread_condattr_init(pthread_condattr_t *attr)
60 *attr = pattr;
67 _pthread_condattr_destroy(pthread_condattr_t *attr)
71 if (attr == NULL || *attr == NULL) {
74 free(*attr);
75 *attr = NULL;
82 _pthread_condattr_getclock(const pthread_condattr_t *attr, clockid_t *clock_id)
84 if (attr == NULL || *attr == NULL)
86 *clock_id = (*attr)->c_clockid;
91 _pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id)
93 if (attr == NULL || *attr == NULL)
101 (*attr)->c_clockid = clock_id;
106 _pthread_condattr_getpshared(const pthread_condattr_t *attr, int *pshared)
108 if (attr == NULL || *attr == NULL)
116 _pthread_condattr_setpshared(pthread_condattr_t *attr, int pshared)
118 if (attr == NULL || *attr == NULL)