| 51 | ThreadMutex *Thread::constructThreadMutex() { return new ThreadMutex; } |
| 52 | |
| 53 | void Thread::destructThreadMutex(ThreadMutex *t) { |
| 54 | if (t != 0) { |
| 55 | pthread_mutex_destroy(&(t->mutex)); |
| 56 | pthread_cond_destroy(&(t->condition)); |
| 57 | delete t; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | int Thread::start() { |
| 62 | pthread_attr_init(&(threadInfo->threadAttr)); |
nothing calls this directly
no outgoing calls
no test coverage detected