| 83 | }; |
| 84 | |
| 85 | SyncImpl::SyncImpl() |
| 86 | { |
| 87 | int status = pthread_mutex_init(&getSync(this)->mutex, 0); |
| 88 | PX_ASSERT(!status); |
| 89 | status = pthread_cond_init(&getSync(this)->cond, 0); |
| 90 | PX_ASSERT(!status); |
| 91 | PX_UNUSED(status); |
| 92 | getSync(this)->is_set = false; |
| 93 | getSync(this)->setCounter = 0; |
| 94 | } |
| 95 | |
| 96 | SyncImpl::~SyncImpl() |
| 97 | { |