[riot-commits] [RIOT-OS/RIOT] c0ce34: cppcheck: don't needlessly assign sched_active_pid
Oleg Hahm
oleg at hobbykeller.org
Fri Oct 24 10:05:39 CEST 2014
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: c0ce346a12d4696fb5bc4a1516577df00bda3796
https://github.com/RIOT-OS/RIOT/commit/c0ce346a12d4696fb5bc4a1516577df00bda3796
Author: René Kijewski <rene.kijewski at fu-berlin.de>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M core/sched.c
Log Message:
-----------
cppcheck: don't needlessly assign sched_active_pid
Commit: aa086158ee7ddfe4c8b3ddec8af78ce5a99a9e51
https://github.com/RIOT-OS/RIOT/commit/aa086158ee7ddfe4c8b3ddec8af78ce5a99a9e51
Author: René Kijewski <rene.kijewski at fu-berlin.de>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M cpu/lpc1768/include/cpu.h
Log Message:
-----------
Add copyright information to lpc1768/include/cpu.h
Commit: 677d690e2baddf6494a748ad4f735273985a27d7
https://github.com/RIOT-OS/RIOT/commit/677d690e2baddf6494a748ad4f735273985a27d7
Author: René Kijewski <rene.kijewski at fu-berlin.de>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M core/include/arch/thread_arch.h
M core/include/sched.h
M core/include/thread.h
M core/msg.c
M core/mutex.c
M core/sched.c
M core/thread.c
M cpu/arm_common/arm_cpu.c
M cpu/lpc1768/atom.c
M cpu/lpc1768/include/cpu.h
M cpu/msp430-common/cpu.c
M cpu/native/native_cpu.c
M cpu/x86/x86_interrupts.c
M cpu/x86/x86_threading.c
M sys/pipe/pipe.c
M sys/posix/semaphore.c
A tests/sched_testing/Makefile
A tests/sched_testing/main.c
Log Message:
-----------
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.
Commit: 9b819c4dd608160cd457a62c5c48e484f5473eed
https://github.com/RIOT-OS/RIOT/commit/9b819c4dd608160cd457a62c5c48e484f5473eed
Author: Oleg Hahm <oleg at hobbykeller.org>
Date: 2014-10-24 (Fri, 24 Oct 2014)
Changed paths:
M core/include/arch/thread_arch.h
M core/include/sched.h
M core/include/thread.h
M core/msg.c
M core/mutex.c
M core/sched.c
M core/thread.c
M cpu/arm_common/arm_cpu.c
M cpu/lpc1768/atom.c
M cpu/lpc1768/include/cpu.h
M cpu/msp430-common/cpu.c
M cpu/native/native_cpu.c
M cpu/x86/x86_interrupts.c
M cpu/x86/x86_threading.c
M sys/pipe/pipe.c
M sys/posix/semaphore.c
A tests/sched_testing/Makefile
A tests/sched_testing/main.c
Log Message:
-----------
Merge pull request #1836 from Kijewski/yield-less
core: introduce sched_yield(), yield less
Compare: https://github.com/RIOT-OS/RIOT/compare/a676038472c2...9b819c4dd608
More information about the commits
mailing list