# EventLoop: fix \`std.Io.Condition\` implementation · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/08ce00027651b8cfd6676341e8ae32f423c85b25)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 08ce00027651b8cfd6676341e8ae32f423c85b25

Requested commit: 08ce00027651b8cfd6676341e8ae32f423c85b25

Commit: 08ce00027651b8cfd6676341e8ae32f423c85b25

Tree: 56d7e5ee1e98390e1f8b05dac7e673114e87fba1

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
EventLoop: fix `std.Io.Condition` implementation

 1. a fiber can't put itself on a queue that allows it to be rescheduled
 2. allow the idle fiber to unlock a mutex held by another fiber by
    ignoring reschedule requests originating from the idle fiber

```

## Parents

- [e366b13a6573979bf4e644374aaf3e3b125a6377](https://git.cafe/gitcafe/zig/commit/e366b13a6573979bf4e644374aaf3e3b125a6377?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/08ce00027651b8cfd6676341e8ae32f423c85b25?format=markdown)
