1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00
Marian Buschsieweke caa5561667
core/msg: fix msg_avail_thread() and msg_avail()
This now ensures race-free access to the CIB tracking the number
of messages queued in the ringbuffer for a given thread.

In addition, `msg_avail_thread()` now checks if the provided pid refers
to a thread that is currently existing.

Co-authored-by: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
2025-04-15 15:07:11 +02:00
..
2021-08-13 19:50:38 +02:00
2021-02-02 22:21:14 +01:00
2025-04-01 11:30:15 +02:00