Add Sleep syscall

This commit is contained in:
Alex
2023-03-20 01:35:59 +02:00
parent ac0c9505f3
commit ff214dc10b
2 changed files with 15 additions and 0 deletions

View File

@ -88,6 +88,12 @@ enum NativeSyscalls
*/
_FileStatus,
/** @brief Sleep for a specific amount of time
* @fn int Sleep(uint64_t Milliseconds)
* This syscall is used to sleep the current thread for a specific amount of time.
*/
_Sleep,
/** @brief Wait for a process or a thread
* @fn
* This syscall is used to wait for a specific process or thread to terminate. It returns the exit code of the process or thread.