mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
scheduler: continue work
This commit is contained in:
@@ -17,6 +17,8 @@ extern topology_node_t topology_root;
|
||||
|
||||
topology_node_t *topology_create_node(void);
|
||||
void topology_insert(topology_node_t *node, topology_node_t *parent, int id, cpu_t *cpu);
|
||||
cpu_t *topology_find_next_cpu_to_run(topology_node_t *last_cpu, thread_t *thread, time_t sleep_time);
|
||||
topology_node_t *topology_find_child_by_id(topology_node_t *node, int id);
|
||||
|
||||
static inline topology_node_t *topology_get_root(void) {
|
||||
return &topology_root;
|
||||
|
||||
Reference in New Issue
Block a user