1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +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
pthread_attr.c
pthread_barrier.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
pthread_barrierattr.c
pthread_cond.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
pthread_mutex_attr.c
pthread_mutex.c
pthread_once.c
pthread_rwlock_attr.c
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