| 239 | } |
| 240 | |
| 241 | void skr_init_thread(SThreadDesc* pData, SThreadHandle* pHandle) |
| 242 | { |
| 243 | int res = pthread_create(pHandle, NULL, ThreadFunctionStatic, pData); |
| 244 | skr_thread_set_priority(*pHandle, SKR_THREAD_NORMAL); |
| 245 | SKR_UNREF_PARAM(res); |
| 246 | SKR_ASSERT(res == 0); |
| 247 | } |
| 248 | |
| 249 | SThreadHandle skr_get_current_thread() |
| 250 | { |
no test coverage detected