Lines Matching defs:thr_self
11 #define pthread_self thr_self
12 #define thr_self thr_self
37 #define DBG_LOCK1(st) printf("%d> %s %d:%s\n", thr_self(), st, __LINE__, __FILE__);
38 #define DBG_LOCK2(ld,st) printf("%d> %s ld_lockcount=%d %d:%s\n", thr_self(), st, (ld)->ld_lockcount, __LINE__, __FILE__);
43 extern pthread_t thr_self();
45 if ((ld)->ld_response_lockthread != thr_self()) { \
49 (ld)->ld_response_lockthread = thr_self(); \
66 if ((ld)->ld_lockthread != thr_self()) { \
70 (ld)->ld_lockthread = thr_self(); \