! waits until the given thread has terminated */
| 123 | |
| 124 | /*! waits until the given thread has terminated */ |
| 125 | void join(thread_t tid) { |
| 126 | WaitForSingleObject(HANDLE(tid), INFINITE); |
| 127 | CloseHandle(HANDLE(tid)); |
| 128 | } |
| 129 | |
| 130 | /*! destroy a hardware thread by its handle */ |
| 131 | void destroyThread(thread_t tid) { |
no outgoing calls
no test coverage detected