genode/repos/base-sel4/src/base/lock/lock_helper.h
2015-05-26 09:39:54 +02:00

32 lines
644 B
C

/*
* \brief seL4-specific helper functions for the Lock implementation
* \author Norman Feske
* \date 2014-10-14
*/
/*
* Copyright (C) 2014 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* Genode includes */
#include <base/native_types.h>
#include <base/thread.h>
static inline void thread_yield() { }
static inline bool thread_check_stopped_and_restart(Genode::Thread_base *)
{
return false;
}
static inline void thread_switch_to(Genode::Thread_base *thread_base) { }
static inline void thread_stop_myself() { }