refactor: remove blocking mode for now
This commit is contained in:
parent
5df4aae786
commit
2c4f752186
1 changed files with 1 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ pub const Handler = struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const ReadableStatus = enum {
|
pub const ReadableStatus = enum {
|
||||||
is_readable, // backend may now read from fd
|
// TODO: is_readable, // backend may now read from fd (blocking mode)
|
||||||
will_notify, // backend must wait for a handle_read_ready call
|
will_notify, // backend must wait for a handle_read_ready call
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -121,9 +121,6 @@ const INotifyBackend = struct {
|
||||||
error.HandlerFailed => |e_| return e_,
|
error.HandlerFailed => |e_| return e_,
|
||||||
}) {
|
}) {
|
||||||
.will_notify => {},
|
.will_notify => {},
|
||||||
.is_readable => {
|
|
||||||
@panic("TODO");
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue