Closed nathanLoretan closed 7 years ago
Nanosleep is not yet implemented (it's a stub in the libC that returns -1 and sets errno to ENOSYS).
This should be fixed now.
Please test with latest toolchain from http://archive.trexotech.com and the newest kernel.
I've tested but the time defined in second into the struct timespec is not used.
My bad, there was a typo in the implementation. Should be fixed by the new toolchain (currently compiling, will be on the archive soon)
@nathanLoretan please try with latest toolchain http://archive.trexotech.com:8081/
It works, thank you.
Hello, the function nanosleep() always returns -1. To try, I call a function that executes a simple loop within I wait 1s. But the function is always interrupted and it returns -1.