site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dear darwin-dev list, is there a limit on the number of files one can simultaneously monitor with the kevent mechanism? Basically, I want to monitor if a file has changed, for potentially hundreds or even thousands of files. kevent is not suitable for this. There are other mechanisms in the pipeline that improve the developer experience, but this is your best option for now. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Oct 12, 2006, at 12:02 PM, maurits <listpost@plasticsfuture.org wrote: Apart from the technique discussed in Amit's book, you might also want to consider using the kauth FILEOP scope. This will require that you write some kernel code and come up with a matching and queueing mechanism for notifications that is efficient (because you are called on the hot path), but it's a precise mechanism that is available in 10.4, and which was developed for this specific reason. This email sent to site_archiver@lists.apple.com