- Jan 15, 2018
-
-
Kaspar Schleiser authored
-
- Oct 24, 2016
-
-
Ian Martin authored
-
- Jul 18, 2016
-
-
Kaspar Schleiser authored
-
- Apr 09, 2016
-
-
Kaspar Schleiser authored
-
- Mar 30, 2016
-
-
Kaspar Schleiser authored
-
- Mar 29, 2016
-
-
Kaspar Schleiser authored
-
Kaspar Schleiser authored
-
- Mar 20, 2016
-
-
DipSwitch authored
-
- Mar 07, 2016
-
-
IldarValiev authored
-
IldarValiev authored
-
- Mar 05, 2016
-
-
Kaspar Schleiser authored
-
- Feb 28, 2016
-
-
Kaspar Schleiser authored
-
- Dec 07, 2015
-
-
Hauke Petersen authored
-
Oleg Hahm authored
-
- Sep 22, 2015
-
-
Ian Martin authored
-
- Sep 16, 2015
-
-
Kaspar Schleiser authored
-
- Jun 12, 2015
-
-
ximus authored
Only the lower half of the stack end marker is being writtem to the stack buffer end.
-
- May 22, 2015
-
-
Joakim Nohlgård authored
-
- Dec 03, 2014
-
-
Ludwig Knüpfer authored
-
- Oct 30, 2014
-
-
Oleg Hahm authored
-
- Oct 27, 2014
-
-
Oleg Hahm authored
Although it might conceptionally rather belong to the scheduler, the yield functions are prefixed with thread_ and thus, belong there.
-
Ludwig Knüpfer authored
* should not have any effect as long as `unsigned` and `int` are compatible * also fix two cosmetic `unsigned int` -> `unsigned` for consistency
-
- Oct 23, 2014
-
-
René Kijewski authored
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.
-
Oleg Hahm authored
-
- Oct 17, 2014
-
-
René Kijewski authored
Fixes #1267.
-
- Oct 13, 2014
-
-
Ludwig Knüpfer authored
move into header and remove redundant condition
-
- Aug 21, 2014
-
-
René Kijewski authored
Right now the core component `clist` is a generic cyclic doubly-linked list. In the core it is used in `tcb_t::rq_entry`. Further it is used `net_if.c`. This commit removes the member `clist_node_t::data` which stored the pointer to the `tcb_t` instance of which the clist is already a member. The needless member added `sizeof (int)` bytes to every instance of `tcb_t`. In `net_if.c` the clist was used in a type-punned way, so that the change won't affect it.
-
- Aug 17, 2014
-
-
René Kijewski authored
In many places we needlessly use `sched_active_thread->pid` whilst we already have `sched_active_pid` with the same value, and one less indirection. `thread_getpid()` is made `static inline` so that there is no penalty in using this function over accessing `sched_active_pid` directly.
-
René Kijewski authored
-
- Aug 14, 2014
-
-
René Kijewski authored
Remove PID check duplication in `thread_getstatus()` and `thread_getname()`.
-
- Aug 01, 2014
-
-
René Kijewski authored
-
René Kijewski authored
`tcp_t::stack_size` is only examined by the shell command `ps` and `DEBUG_PRINT`. For the latter one only if `DEVELHELP` was enabled. This PR guards the member `tcp_t::stack_size` in `#ifdef DEVELHELP`. Only if DEVELHELP was activated its value get printed by `ps`. Closes #1287.
-
Oleg Hahm authored
Instead of using differing integer types use kernel_pid_t for process identifier. This type is introduced in a new header file to avoid circular dependencies.
-
- Jul 31, 2014
-
-
Ludwig Knüpfer authored
-
- Jul 30, 2014
-
-
René Kijewski authored
-
- Jul 12, 2014
-
-
Ludwig Knüpfer authored
remove thread_getlastpid and last_pid from the API, it is unused
-
- Jul 09, 2014
-
-
René Kijewski authored
-
René Kijewski authored
-
- May 24, 2014
-
-
René Kijewski authored
There is no need to supply the current priority to `sched_switch()`, when this function can easily tell the value of `active_thread->priority` itself.
-
- May 18, 2014
-
-
Oleg Hahm authored
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
-