3 ms·
I searched the cheriot-rtos repo and found a lot of calls from tests (either directly or through the wrapper function `sleep`): https://github.com/search?q=rep
by comex 2y ago
I searched the cheriot-rtos repo and found a lot of calls from tests (either directly or through the wrapper function `sleep`):
https://github.com/search?q=repo%3Amicrosoft%2Fcheriot-rtos%20thread_sleep&type=code https://github.com/search?q=repo%3Amicrosoft%2Fcheriot-rtos%...
That's a context where it makes a lot of sense to use sleep. I've written similar test code myself for a different RTOS. Most of the callers are testing various form of synchronization mechanisms themselves, so using proper synchronization isn't really an option.
The non-test uses you found are more dubious though.