Lines Matching refs:blocked
95 int blocked;
177 if (cond->blocked == 0) { in impl_cond_do_signal()
182 cond->to_unblock += nsignal = cond->blocked; in impl_cond_do_signal()
183 cond->blocked = 0; in impl_cond_do_signal()
187 cond->blocked--; in impl_cond_do_signal()
189 } else if (cond->blocked > cond->gone) { in impl_cond_do_signal()
192 cond->blocked -= cond->gone; in impl_cond_do_signal()
196 nsignal = cond->to_unblock = cond->blocked; in impl_cond_do_signal()
197 cond->blocked = 0; in impl_cond_do_signal()
200 cond->blocked--; in impl_cond_do_signal()
217 cond->blocked++; in impl_cond_do_wait()
228 if (cond->blocked != 0) { in impl_cond_do_wait()
229 cond->blocked--; in impl_cond_do_wait()
235 if (cond->blocked != 0) { in impl_cond_do_wait()
245 cond->blocked -= cond->gone; in impl_cond_do_wait()
356 cond->blocked = 0; in cnd_init()