base: remove deprecated cancel_blocking() support

for threads.

Fixes #3806
This commit is contained in:
Alexander Boettcher
2020-07-06 16:09:44 +02:00
committed by Norman Feske
parent ce6f4dffe5
commit f3efbe50bb
49 changed files with 3 additions and 343 deletions

View File

@@ -99,11 +99,6 @@ namespace Genode {
*/
void resume();
/**
* Cancel currently blocking operation
*/
void cancel_blocking();
/**
* This thread is about to be bound
*

View File

@@ -143,27 +143,6 @@ void Platform_thread::unbind()
}
void Platform_thread::cancel_blocking()
{
L4_Word_t dummy;
L4_ThreadId_t dummy_tid;
/*
* For more details, please refer to the corresponding implementation in
* the 'base-pistachio' repository.
*/
/* reset value for the thread's user-defined handle */
enum { USER_DEFINED_HANDLE_ZERO = 0 };
L4_ExchangeRegisters(_l4_thread_id,
L4_ExReg_Resume | L4_ExReg_AbortOperation | L4_ExReg_user,
0, 0, 0, USER_DEFINED_HANDLE_ZERO, L4_nilthread,
&dummy, &dummy, &dummy, &dummy, &dummy,
&dummy_tid);
}
unsigned long Platform_thread::pager_object_badge() const
{
return native_thread_id().raw;

View File

@@ -46,14 +46,6 @@ void Thread::start()
}
void Thread::cancel_blocking()
{
/*
* Within core, we never need to unblock threads
*/
}
void Thread::_deinit_platform_thread()
{
/* destruct platform thread */