Skip to content

Commit 38d1946

Browse files
committed
fixup! Copy illumos waker pipe work around to eventfd
1 parent 619c909 commit 38d1946

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sys/unix/waker/eventfd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl Waker {
4747
// generated.
4848
// See https://www.illumos.org/issues/16700.
4949
#[cfg(target_os = "illumos")]
50-
self.reset();
50+
self.reset()?;
5151

5252
let buf: [u8; 8] = 1u64.to_ne_bytes();
5353
match (&self.fd).write(&buf) {

src/sys/unix/waker/pipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl Waker {
4040
// The epoll emulation on some illumos systems currently requires
4141
// the pipe buffer to be completely empty for an edge-triggered
4242
// wakeup on the pipe read side.
43-
// See https://www.illumos.org/issues/16700.
43+
// See https://www.illumos.org/issues/13436.
4444
#[cfg(target_os = "illumos")]
4545
self.empty();
4646

0 commit comments

Comments
 (0)