base-host: Adaptation to changed lock-internal API
This commit is contained in:
parent
a81ad12372
commit
989f662f46
|
@ -16,36 +16,19 @@
|
||||||
|
|
||||||
/* Genode includes */
|
/* Genode includes */
|
||||||
#include <base/native_types.h>
|
#include <base/native_types.h>
|
||||||
|
#include <base/thread.h>
|
||||||
|
|
||||||
|
|
||||||
static inline void thread_yield() { }
|
static inline void thread_yield() { }
|
||||||
|
|
||||||
|
|
||||||
static bool thread_check_stopped_and_restart(Genode::Native_thread_id tid)
|
static bool thread_check_stopped_and_restart(Genode::Thread_base *)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline Genode::Native_thread_id thread_get_my_native_id()
|
static inline void thread_switch_to(Genode::Thread_base *)
|
||||||
{
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static inline Genode::Native_thread_id thread_invalid_id()
|
|
||||||
{
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static inline bool thread_id_valid(Genode::Native_thread_id tid)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static inline void thread_switch_to(Genode::Native_thread_id tid)
|
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue