non blocking queue
Fork of mbed-rtos by
Diff: rtos/Queue.h
- Revision:
- 126:840bc12bd045
- Parent:
- 123:58563e6cba1e
--- a/rtos/Queue.h Tue Jul 04 13:32:20 2017 +0100 +++ b/rtos/Queue.h Tue May 01 11:58:11 2018 +0000 @@ -67,7 +67,7 @@ @param millisec timeout value or 0 in case of no time-out. (default: osWaitForever). @return event information that includes the message and the status code. */ - osEvent get(uint32_t millisec=osWaitForever) { + osEvent get(uint32_t millisec=0) { return osMessageGet(_queue_id, millisec); }