FileNotification

Last Revision:
Version 1.2, 2005-10-27
Updated to produce a universal binary. No code changes were required.
Build Requirements:
Xcode
Runtime Requirements:
Mac OS X 10.3

Demonstrates how to use the kqueue mechanism to be notified when the contents of a folder change. Efficient method for detecting when a file is added, deleted, or renamed. This sample creates a simple MP thread which watches a few defined locations for modifications, then posts the event back to the main queue to display the relevant kevent information to the main window.