Jose Alamos
f2ff06c9d4
posix/pthread_rwlock: fix unsigned variable comparison
2018-08-21 13:58:39 +02:00
c6b482d56c
posix: pthread_rwlock: fix DEBUG messages
2018-01-15 14:37:04 +01:00
smlng
8253510f0b
posix: replace timex in pthread_rwlock
2017-06-21 11:35:27 +02:00
kYc0o
f92b025b85
vtimer: get rid of
2016-03-24 17:10:54 +01:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
René Kijewski
2cb4166c3e
all over the place: use sched_active_pid
...
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.
2014-08-17 21:04:25 +02:00
Ludwig Ortmann
c2b2e4554b
core/queue: queue -> priority_queue
...
Rename queue to priority queue, because that's what it is.
2014-08-05 17:57:45 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
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.
2014-08-01 12:02:54 +02:00
René Kijewski
4032a22719
queue: add queue_t root type
2014-07-30 21:10:22 +02:00
René Kijewski
a6fd5bff92
core: imply current_prio in sched_switch()
...
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.
2014-05-24 16:48:35 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
René Kijewski
9a5a8a2452
Add pthread_rwlock test
2014-04-18 16:26:12 +02:00
René Kijewski
10d36df795
pthread: implement reader/writer lock
2014-04-18 16:20:47 +02:00