Files
genode/repos/base/include/base/blocking.h
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

29 lines
796 B
C++

/*
* \brief Support for blocking operations
* \author Norman Feske
* \date 2007-09-06
*
* In Genode, two operations may block a thread,
* waiting at a lock or performing an IPC call.
* Both operations may be canceled when killing
* the thread. In this case, the thread unblocks
* and throws an exception, and therefore, is able
* to clean up the thread state before exiting.
*/
/*
* Copyright (C) 2007-2013 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.
*/
#ifndef _INCLUDE__BASE__BLOCKING_H_
#define _INCLUDE__BASE__BLOCKING_H_
#include <base/exception.h>
namespace Genode { class Blocking_canceled : public Exception { }; }
#endif /* _INCLUDE__BASE__BLOCKING_H_ */