os: let fs clients install custom signal handlers

This patch adds the methods 'sigh_ack_avail()' and
'sigh_ready_to_submit()', which are needed to build asynchronously
operating file-system clients.

Fixes #2023
This commit is contained in:
Ben Larson 2016-06-29 15:56:10 -06:00 committed by Norman Feske
parent 62d65d00e0
commit a4f73ab1ad

View File

@ -50,6 +50,16 @@ class File_system::Session_client : public Genode::Rpc_client<Session>
Tx::Source *tx() { return _tx.source(); }
void sigh_ready_to_submit(Genode::Signal_context_capability sigh)
{
_tx.sigh_ready_to_submit(sigh);
}
void sigh_ack_avail(Genode::Signal_context_capability sigh)
{
_tx.sigh_ack_avail(sigh);
}
File_handle file(Dir_handle dir, Name const &name, Mode mode, bool create) override
{
return call<Rpc_file>(dir, name, mode, create);