-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
In our docs (https://os.mbed.com/docs/v5.7/reference/sleep-manager.html) we state that when you call wait
we automatically put the device in deep sleep. This is not true. For some reason wait()
blocks deepsleep, but if you change it to Thread::wait
it does not. Why?! This is super confusing. Why would there be two different behaviors when pausing a thread?
Then on non-RTOS mode wait actually can do deepsleep, so that makes it even more confusing.
All wait should behave equally and should not block deepsleep.
Issue request type
[ ] Question
[X] Enhancement
[ ] Bug
amq and klaas019
Metadata
Metadata
Assignees
Labels
No labels