mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
base: remove deprecated cancel_blocking() support
for threads. Fixes #3806
This commit is contained in:
committed by
Norman Feske
parent
ce6f4dffe5
commit
f3efbe50bb
@@ -99,11 +99,6 @@ namespace Genode {
|
||||
*/
|
||||
void resume();
|
||||
|
||||
/**
|
||||
* Cancel currently blocking operation
|
||||
*/
|
||||
void cancel_blocking();
|
||||
|
||||
/**
|
||||
* This thread is about to be bound
|
||||
*
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user