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:
parent
90177889b7
commit
2d8bdf9b83
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user