[riot-notifications] [RIOT-OS/RIOT] murdock: enable esp32-wroom-32 for CI testing (#11449)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications