| 53 | } |
| 54 | |
| 55 | int bthread_cond_destroy(bthread_cond_t* c) { |
| 56 | bthread::butex_destroy(c->seq); |
| 57 | c->seq = NULL; |
| 58 | return 0; |
| 59 | } |
| 60 | |
| 61 | int bthread_cond_signal(bthread_cond_t* c) { |
| 62 | bthread::CondInternal* ic = reinterpret_cast<bthread::CondInternal*>(c); |