mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
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:
parent
62d65d00e0
commit
a4f73ab1ad
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user