[riot-commits] [RIOT-OS/RIOT] 791f1c: Changes to `thread_wakeup`
Kaspar Schleiser
kaspar at schleiser.de
Mon Mar 3 18:17:20 CET 2014
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: 791f1cb90fd0cbdc5d4cce7f8a858389d77c1a16
https://github.com/RIOT-OS/RIOT/commit/791f1cb90fd0cbdc5d4cce7f8a858389d77c1a16
Author: René Kijewski <rene.kijewski at fu-berlin.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)
Changed paths:
M core/thread.c
Log Message:
-----------
Changes to `thread_wakeup`
`thread_wakeup` did not check if target pid is invalid.
`thread_wakeup` used `dINT` and `eINT` directly.
It should use `disableIRQ` and `restoreIRQ` instead, because there might
be other (good) reasons why one might want to call `thread_wakeup` with
interrupts disabled.
`thread_wakeup` yielded even if the other thread had a lower priority
than the current thread.
Commit: 402fae5bbe095b7832ccde21b8954c79289296f5
https://github.com/RIOT-OS/RIOT/commit/402fae5bbe095b7832ccde21b8954c79289296f5
Author: Kaspar Schleiser <kaspar at schleiser.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
Changed paths:
M core/thread.c
Log Message:
-----------
Merge pull request #698 from Kijewski/thread_wakeup-dint
Changes to `thread_wakeup`
Compare: https://github.com/RIOT-OS/RIOT/compare/eb0ceeb77315...402fae5bbe09
More information about the commits
mailing list