Add READ_READY support to file-system session
The read-ready packet informs the server that the client wants to be notified if a handle becomes readable. When becoming readable, the server acknowledges packet and the client may queue a read requests accordingly.
This commit is contained in:
committed by
Norman Feske
parent
8185a49b4c
commit
b805e001db
@@ -1,11 +1,13 @@
|
||||
/*
|
||||
* \brief File-system session interface
|
||||
* \author Norman Feske
|
||||
* \author Emery Hemingway
|
||||
* \author Christian Helmuth
|
||||
* \date 2012-04-05
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2012-2016 Genode Labs GmbH
|
||||
* Copyright (C) 2012-2017 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.
|
||||
@@ -117,7 +119,7 @@ class File_system::Packet_descriptor : public Genode::Packet_descriptor
|
||||
{
|
||||
public:
|
||||
|
||||
enum Opcode { READ, WRITE };
|
||||
enum Opcode { READ, WRITE, READ_READY };
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user