[riot-notifications] [RIOT-OS/RIOT] tests/xtimer_mutex_lock_timeout: New test (#12008)

Julian Holzwarth notifications at github.com
Wed Sep 11 15:05:41 CEST 2019


JulianHolzwarth commented on this pull request.



> + * @brief   thread function and stack for
+ *          cmd_test_xtimer_mutex_lock_timeout_low_prio_thread
+ */
+
+char t_stack[THREAD_STACKSIZE_MAIN];
+
+void *thread_low_prio_test(void *arg)
+{
+    mutex_t *test_mutex = (mutex_t *)arg;
+    msg_t msg;
+
+    puts("THREAD low prio: start");
+
+    mutex_lock(test_mutex);
+    thread_wakeup(main_thread_pid);
+    while (msg_try_receive(&msg) == -1) {}

removed it

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12008#discussion_r323228482
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/6d343ed0/attachment.htm>


More information about the notifications mailing list