Add Platform_thread::state() for seL4
This commit is contained in:
@@ -198,10 +198,10 @@ void Platform_thread::resume()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Platform_thread::state(Thread_state)
|
void Platform_thread::state(Thread_state s)
|
||||||
{
|
{
|
||||||
warning(__PRETTY_FUNCTION__, " not implemented");
|
if (_pager)
|
||||||
throw Cpu_thread::State_access_failed();
|
*static_cast<Thread_state *>(&_pager->state) = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user