Lines Matching defs:CHECK_STATUS
31 #define CHECK_STATUS(name) if (status == -1) { printf("%d ", status); perror(name); error = 1; }
102 CHECK_STATUS("pth_mutex_init");
104 CHECK_STATUS("pth_cond_init");
132 CHECK_STATUS("pth_mutex_acquire[1]");
136 CHECK_STATUS("pth_mutex_release[1]");
144 CHECK_STATUS("pth_mutex_acquire[2]");
148 CHECK_STATUS("pth_cond_await");
152 CHECK_STATUS("pth_mutex_release[2]");
168 CHECK_STATUS("pth_mutex_acquire[3]");
173 CHECK_STATUS("pth_mutex_release[3]");
177 CHECK_STATUS("pth_cond_notify");