1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Valentin
0b4129ae8b tests/thread_msg_bus: enhance test with non-bus message 2022-10-18 13:25:09 +02:00
benpicco
ee7a52db2f
Merge pull request #14023 from benpicco/core/msg_bus-bus_flag
core/msg_bus: allow to differ between messages form bus and from thread
2020-11-03 13:51:19 +01:00
Benjamin Valentin
27d26538d8 tests/thread_msg_bus: check if the message came from the right thread 2020-11-03 10:52:43 +01:00
Bas Stottelaar
6deaf39e5d tests/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Marian Buschsieweke
eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
Benjamin Valentin
337ee38997 tests/thread_msg_bus: add check if all threads got the message 2020-07-22 16:11:36 +02:00
Benjamin Valentin
950c18db42 tests/thread_msg_bus: add test application for message bus 2020-04-28 13:35:05 +02:00