//////////////////////// \brief SysExitThread(retval) Exit a thread \param retval - (void*) Return value pointer \return Undefined, always succeeds ////////////////////////
| 1922 | /// \return Undefined, always succeeds |
| 1923 | ///////////////////////////// |
| 1924 | [[noreturn]] |
| 1925 | long SysExitThread(regs64_t* r){ |
| 1926 | Log::Warning("SysExitThread is unimplemented! Hanging!"); |
| 1927 | |
| 1928 | releaseLock(&GetCPULocal()->currentThread->lock); |
| 1929 | |
| 1930 | GetCPULocal()->currentThread->state = ThreadStateBlocked; |
| 1931 | |
| 1932 | for(;;) Scheduler::Yield(); |
| 1933 | } |
| 1934 | |
| 1935 | ///////////////////////////// |
| 1936 | /// \brief SysFutexWake(futex) Wake a thread waiting on a futex |
nothing calls this directly
no test coverage detected