mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-17 19:31:18 +00:00
uev_io_set() on an active oneshot watcher keeps watching the old
descriptor, for the old events:
uev_io_set(w, newfd, UEV_READ | UEV_ONESHOT);
It only rearms the watcher, with what is already stored in it.
Rearm only when neither has changed, otherwise stop the watcher and set
it up again.
Closes #35
11 lines
62 B
Plaintext
11 lines
62 B
Plaintext
*.trs
|
|
*.log
|
|
active
|
|
api
|
|
complete
|
|
cronrun
|
|
io
|
|
signal
|
|
timer
|
|
event
|