in reply to solution for fileevent on Win32 ???
Second possibility could be to find an X event that could be hijacked to signify your event, but that sounds to me a bit like a hack.