mbed-os/rtos
Kevin Bracey 181446331e Rationalise Queue/Mail get/put APIs
To line up with MemoryPool/Mail alloc, rework naming of get/put

    Queue::get -> try_get, try_get_for
    Queue::put -> try_put, try_put_for
    Mail::get -> try_get, try_get_for
    Mail::put (no change, but assert that it works)

In the future the names `get` and `put` can be used for untimed blocking
operations. In the interim, you have to use
`try_get_for(Kernel::wait_for_u32_forever)`.

`Mail::put` differs in that it has always been a non-blocking call, but
it can be assumed to always succeed when used correctly, because the
Queue has enough room to store a pointer to every block in the
MemoryPool. It could in future be made a `void` return, similar to the
change made to `Mutex::lock`.
2020-05-12 15:17:01 +03:00
..
source Merge pull request #12425 from kjbracey-arm/chrono 2020-04-30 11:41:43 +02:00
ConditionVariable.h Fix the CI build and unit test issue 2020-04-27 10:19:08 +03:00
EventFlags.h Add Chrono support to EventFlags 2020-04-27 10:19:08 +03:00
Kernel.h Merge pull request #12425 from kjbracey-arm/chrono 2020-04-30 11:41:43 +02:00
LICENSE-mit.txt rtos: add license information 2019-04-16 11:26:39 +01:00
LICENSE.md Remove RtosTimer deprecated class and its APIs 2020-03-09 09:52:29 -07:00
Mail.h Rationalise Queue/Mail get/put APIs 2020-05-12 15:17:01 +03:00
MemoryPool.h Rationalise MemoryPool/Mail alloc APIs 2020-05-12 15:17:01 +03:00
Mutex.h Add Chrono support to Mutex 2020-04-27 10:19:08 +03:00
Queue.h Rationalise Queue/Mail get/put APIs 2020-05-12 15:17:01 +03:00
Semaphore.h Add Chrono support to Semaphore 2020-04-27 10:19:08 +03:00
ThisThread.h Add Chrono support to ThisThread 2020-04-27 10:19:08 +03:00
Thread.h Thread: minor space optimisation 2020-04-27 10:19:08 +03:00
mbed_lib.json RTOS API for bare metal 2019-07-15 10:13:50 +03:00
mbed_rtos1_types.h RTOS API for bare metal 2019-07-15 10:13:50 +03:00
mbed_rtos_storage.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_rtos_types.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
rtos.h Remove RtosTimer deprecated class and its APIs 2020-03-09 09:52:29 -07:00