mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-17 19:31:18 +00:00
With stdin redirected from a regular file, uev_run() with UEV_ONCE does
not return until end of file:
app < file.txt
The workaround for regular files, which epoll cannot watch, restarts
the loop before the UEV_ONCE check.
Check the flag there too.
Closes #37
12 lines
68 B
Plaintext
12 lines
68 B
Plaintext
*.trs
|
|
*.log
|
|
active
|
|
api
|
|
complete
|
|
cronrun
|
|
io
|
|
signal
|
|
stdin
|
|
timer
|
|
event
|