Enabled returns true if writing to the associated MMIO address can succeed. This is inherently racy, so if the memory-mapped write faults, the eventfd will fall back to writing using a syscall.
()
| 148 | // succeed. This is inherently racy, so if the memory-mapped write faults, |
| 149 | // the eventfd will fall back to writing using a syscall. |
| 150 | Enabled() bool |
| 151 | |
| 152 | // Close is called when the associated Eventfd is closed. |
| 153 | Close(ev Eventfd) |
no outgoing calls
no test coverage detected