A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
While fswatch builds fine on Haiku, it would be a shame not to use the node_monitor inherited from BeOS which predates inotify by at 10 or 15 years :smile:
This is mostly a reminder for myself, unless someone else wants to beat me at it.
Btw, the AC_CHECK_LIB([pthread]…) does work on Haiku even though linking with the lib is not required, but it'd probably be cleaner to use AX_PTHREAD instead since not all systems have the library, and some require a -pthread flag instead.
While fswatch builds fine on Haiku, it would be a shame not to use the node_monitor inherited from BeOS which predates inotify by at 10 or 15 years :smile:
This is mostly a reminder for myself, unless someone else wants to beat me at it.
Btw, the
AC_CHECK_LIB([pthread]…)
does work on Haiku even though linking with the lib is not required, but it'd probably be cleaner to useAX_PTHREAD
instead since not all systems have the library, and some require a-pthread
flag instead.