[riot-notifications] [RIOT-OS/RIOT] murdock: enable esp32-wroom-32 for CI testing (#11449)

Kaspar Schleiser notifications at github.com
Mon Apr 29 14:23:29 CEST 2019


kaspar030 commented on this pull request.



> @@ -22,9 +22,9 @@
 )
 
 EXPECTED_PS = (
-    '\tpid | state    Q | pri',
-    '\t  1 | pending  Q |  15',
-    '\t  2 | running  Q |   7'
+    r'\s+pid | state    Q | pri',
+    r'\s+1 | pending  Q |\s+\d+',

> I don't know remember where, but I have read anywhere in Wiki or the online doc that each thread should have it's own priority since threads with same priority don't lead to a context switch as long as both are in state pending.

I know the statement, it is a bit misleading. If two (or more) threads share a priority and one doesn't either yield or block, the other thread(s) can starve, same as lower prioritized threads. Other than that, having two threads with the same priority is fine.

-- 
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/11449#discussion_r279339837
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190429/377a3046/attachment.html>


More information about the notifications mailing list