base: remove deprecated cancel_blocking() support
for threads. Fixes #3806
This commit is contained in:
committed by
Norman Feske
parent
ce6f4dffe5
commit
f3efbe50bb
@@ -102,11 +102,6 @@ namespace Genode {
|
||||
*/
|
||||
void resume();
|
||||
|
||||
/**
|
||||
* Cancel currently blocking operation
|
||||
*/
|
||||
void cancel_blocking();
|
||||
|
||||
/**
|
||||
* This thread is about to be bound
|
||||
*
|
||||
|
||||
@@ -142,17 +142,6 @@ Thread_state Platform_thread::state()
|
||||
}
|
||||
|
||||
|
||||
void Platform_thread::cancel_blocking()
|
||||
{
|
||||
l4_umword_t dummy;
|
||||
l4_threadid_t invalid = L4_INVALID_ID;
|
||||
|
||||
l4_inter_task_ex_regs(_l4_thread_id, ~0UL, ~0UL,
|
||||
&invalid, &invalid, &invalid,
|
||||
&dummy, &dummy, &dummy, 0, l4_utcb_get());
|
||||
}
|
||||
|
||||
|
||||
Platform_thread::Platform_thread(size_t, const char *name, unsigned,
|
||||
Affinity::Location, addr_t)
|
||||
: _l4_thread_id(L4_INVALID_ID), _name(name) { }
|
||||
|
||||
@@ -49,14 +49,6 @@ void Thread::start()
|
||||
}
|
||||
|
||||
|
||||
void Thread::cancel_blocking()
|
||||
{
|
||||
/*
|
||||
* Within core, we never need to unblock threads
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
void Thread::_deinit_platform_thread()
|
||||
{
|
||||
/* destruct platform thread */
|
||||
|
||||
Reference in New Issue
Block a user