mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
714ee17fab
Two Functions cmd_test_xtimer_mutex_lock_timeout_low_prio_thread and thread_low_prio_test are added. This testfunction will test xtimer_mutex_lock_timeout with two threads (main thread and lower prio than main thread). The main thread creates another thread and sleeps. While the main thread sleeps the other thread takes the mutex and wakes the main thread up. Then the main thread calls xtimer_mutex_lock_timeout and the second thread unlocks the mutex and the main thread gets it and waits for the created thread to end. Has test messages showing the thread count. To make sure the created thread ends. (test messages may be removed in the future) |
||
---|---|---|
.. | ||
01-run.py |