Joey Hess
47751372fb
include sys/types.h
...
I have a report that this is necessary for freebsd.
It seemed not necessary for OSX, but even there the kqueue
man page says to include this header (along with sys/time.h
which it already does).
2013-04-24 10:39:52 -04:00
Joey Hess
fd3e945932
fix prototype
2012-06-19 01:57:19 -04:00
Joey Hess
03b9341356
fix scheduling
...
Handle kevent interruptions in the haskell code, so it can yield to other threads
2012-06-19 04:52:55 +00:00
Joey Hess
5e9fdac92f
update kqueue when new directories are added
2012-06-18 21:46:04 -04:00
Joey Hess
b141d9bcc8
retry interrupted kevent calls
...
Many thanks to geekosaur in #haskell for help with this.
2012-06-18 18:03:50 -04:00
Joey Hess
a11825a1f1
add test stub
2012-06-18 16:56:05 -04:00
Joey Hess
d680ff7ef0
kqueue code compiles on debian kfreebsd
2012-06-18 16:34:08 -04:00
Joey Hess
90d565149a
flesh out kqueue library
...
Have not tried to build this yet. But barring minor mistakes, I think it's
good.
2012-06-18 16:18:59 -04:00
Joey Hess
3c8a9043b6
skeleton C library for calling kqueue
2012-06-18 12:25:20 -04:00