obliteration
obliteration copied to clipboard
#603 Implement sys_nanosleep
I've included the Windows implementation, but I have no idea what am I doing there so there might be bugs.
This is not 100% correct with PS4, as it will always sleep the requested amount on both Windows and Linux - that should not be a problem though as libkernel functions would have restarted on EINTR anyway
@mikusp Doesn't this sleep the thread running the kernel? We want to sleep the thread that's requesting that's making the syscall, don't we? EDIT: Actually, scratch that. Maybe it is correct.
I believe nanosleep would sleep the calling thread, so should be correct
I've rebased the branch and fixed the windows implementation so it compiles at least
Updated now with the nanosleep function moved to the time module
We are closing this PR due to no any activities in the last 30 days. Feel free to re-open it if you would like to continue working on this.
We are closing this PR due to no any activities in the last 30 days. Feel free to re-open it if you would like to continue working on this.
We are closing this PR due to no any activities in the last 30 days. Feel free to re-open it if you would like to continue working on this.
We are closing this PR due to no any activities in the last 30 days. Feel free to re-open it if you would like to continue working on this.
We are closing this PR due to no any activities in the last 30 days. Feel free to re-open it if you would like to continue working on this.