| 246 | } |
| 247 | |
| 248 | bool ThreadImpl::waitForQuit() |
| 249 | { |
| 250 | if(getThread(this)->state == _PxThreadNotStarted) |
| 251 | return false; |
| 252 | |
| 253 | // works also with a stopped/exited thread if the handle is still valid |
| 254 | pthread_join(getThread(this)->thread, NULL); |
| 255 | return true; |
| 256 | } |
| 257 | |
| 258 | bool ThreadImpl::quitIsSignalled() |
| 259 | { |
no test coverage detected