Lines Matching refs:self
41 pthread_t self = pthread_self();
44 fprintf(stderr,"[Thread 0x%p] failed to acquire the mutex\n", (void*)self);
47 fprintf(stderr,"[Thread 0x%p] started and locked the mutex\n", (void*)self);
58 (void*)self, TIMEOUT);
62 (void*)self, rc);
68 (void*)self);
72 fprintf(stderr,"[Thread 0x%p] was wakened and acquired the mutex again\n", (void*)self);
76 fprintf(stderr,"[Thread 0x%p] failed to release the mutex\n", (void*)self);
81 fprintf(stderr,"[Thread 0x%p] did not owned the mutex after the cond wait\n", (void*)self);
85 fprintf(stderr,"[Thread 0x%p] released the mutex\n", (void*)self);