Skip to content
Snippets Groups Projects
Commit 140d7c72 authored by Avi Kivity's avatar Avi Kivity
Browse files

sched: add missing implementation of thread::id()

Noticed by Guy.
parent 3854cc29
No related branches found
No related tags found
No related merge requests found
......@@ -276,6 +276,11 @@ thread::stack_info thread::get_stack_info()
return _attr.stack;
}
unsigned long thread::id()
{
return _id;
}
timer_list::callback_dispatch::callback_dispatch()
{
clock_event->set_callback(this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment