Andrew Scherpbier

Show:

What's happening?

  • Comment: win32 event notification fix

    It really depends on the load on the machine, I guess. In practice I've not seen more than about 15 records per iteration for a desktop machine. I can image that growing quite a bit on a busy multi-user server. As far as I know, if the buffer is not big enough, events will simply not be written, so for my application I'd rather use a bit more memory and rest easy that I'll catch all events.

    2006-12-12 21:04:37 UTC in JNotify

  • win32 event notification fix

    The win32 event notification was not passing on all events. There were two problems, both related to the piss-poor documentation that Microsoft provides for the ReadDirectoryChangesW function and FILE_NOTIFY_INFORMATION struct. First of all, the buffer passed into ReadDirectoryChangesW should not be an array of FILE_NOTIFY_INFORMATION structs. Instead it should be just a block of...

    2006-09-07 20:34:32 UTC in JNotify

About Me

  • 2000-05-14 (9 years ago)
  • 32816
  • scherpbier (My Site)
  • Andrew Scherpbier

Send me a message