1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core/sched: Drop declaration of sched_active_{pid,thread}

This should increase odds that developers use thread_get_active() and
thread_getpid() instead.
This commit is contained in:
Marian Buschsieweke 2020-08-26 21:38:57 +02:00
parent 90177889b7
commit 2d8bdf9b83
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -183,21 +183,11 @@ extern volatile unsigned int sched_context_switch_request;
*/
extern volatile thread_t *sched_threads[KERNEL_PID_LAST + 1];
/**
* Currently active thread
*/
extern volatile thread_t *sched_active_thread;
/**
* Number of running (non-terminated) threads
*/
extern volatile int sched_num_threads;
/**
* Process ID of active thread
*/
extern volatile kernel_pid_t sched_active_pid;
/**
* List of runqueues per priority level
*/