1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
472bd0ae01 tests: remove obsolete local test targets 2018-09-07 15:13:08 +02:00
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +02:00
Francisco Acosta
1886256f90 tests: add HIL for selected test 2018-04-09 17:50:22 +02:00
fc2eff9fba tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
783e04e7e6 tests/sched_testing: migrate to testrunner 2017-11-14 16:40:00 +01:00
77df65e95e tests: add nucleo32-f031 to unsufficient memory boards 2017-02-22 18:43:02 +01:00
René Kijewski
677d690e2b core: introduce thread_yield_higher(), yield less
Fixes #1708.

Currently involuntary preemption causes the current thread not only to
yield for a higher prioritized thread, but all other threads of its own
priority class, too.

This PR adds the function `thread_yield_higher()`, which will yield the
current thread in favor of higher prioritized functions, but not for
threads of its own priority class.

Boards now need to implement `thread_yield_higher()` instead of
`thread_yield()`, but `COREIF_NG` boards are not affected in any way.

`thread_yield()` retains its old meaning: yield for every thread that
has the same or a higher priority.

This PR does not touch the occurrences of `thread_yield()` in the periph
drivers, because the author of this PR did not look into the logic of
the various driver implementations.
2014-10-24 00:09:56 +02:00