>I've taken a cue from Arne's inotify module and have started working on >one for kqueue based systems. The code basically works but suffers from a >(imho) major drawback: it's not integrated with the Pike backend. [...] >I think the nicest approach would be to modify the kqueue backend so that >it can register VNODE, PROC and SIGNAL filters and shunt them off to an >appropriate handler. That, however, means that the backend would be split >again (creating a KqueueBackend or similar), with the new implementation >having different features. [...] >Does anyone else have thoughts about these approaches (or have an >alternate one?) Perhaps I've missed something obvious... it wouldn't be >the first time!
Have you looked closer at backend.cmod? There is already a backend variant using kqueue... /grubba
