1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/posix/pthread
Marian Buschsieweke 3b6fa61829
sys: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 20:28:11 +02:00
..
include cpu/msp430: remove obsolete msp430 specific headers 2020-08-05 14:29:07 +02:00
Makefile make: detect their module name automatically 2014-06-17 15:49:32 +02:00
pthread_attr.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
pthread_barrier.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
pthread_barrierattr.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
pthread_cond.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
pthread_mutex_attr.c Add missing doxygen for pthread funs and structs 2014-04-18 03:19:31 +02:00
pthread_mutex.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
pthread_once.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
pthread_rwlock_attr.c pthread: implement reader/writer lock 2014-04-18 16:20:47 +02:00
pthread_rwlock.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
pthread_spin.c sys/posix/pthread: Use C11 atomic instead of atomic.h 2017-02-08 16:23:49 +01:00
pthread_tls.c sys: Fix pthread includes to support avr-libs 2017-01-17 19:44:22 +01:00
pthread.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00