Unexpected (at least to me) kevent behavior on window size change when in X
Ivan Radovanovic
radovanovic at gmail.com
Sat Jan 23 21:17:39 UTC 2016
Hi everybody,
I am using kevent(2) to monitor for file changes and I just noticed some
weird behavior - if program is running within X (in MATE terminal), and
if it is already blocked on kevent when I change window size kevent
returns -1 and sets errno to 0.
I am not monitoring anything weird - only normal file descriptors (of
regular files). This is happening on 10.2-STABLE r291381
The only thing which is out of ordinary is that I am doing this from
mono, but still I am directly invoking libc functions from it, so I
don't think it can have anything with it.
Kind regards,
Ivan
More information about the freebsd-hackers
mailing list