non blocking queue
Fork of mbed-rtos by
Revision 126:840bc12bd045, committed 2018-05-01
- Comitter:
- albireo987
- Date:
- Tue May 01 11:58:11 2018 +0000
- Parent:
- 125:5713cbbdb706
- Commit message:
- updated doc;
Changed in this revision
rtos/Queue.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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); }