NotifyTool

Last Revision:
Version 1.1, 2012-08-19
Update to use the latest tools and techniques, including a command to listen via GCD.
(Full Revision History)
Build Requirements:
Xcode 4.4
Runtime Requirements:
Mac OS X 10.6

NotifyTool is a simple example of how to use the BSD notify API (man 3 notify). It shows how to post notifications, and how to receive them using a file descriptor, using a Mach port, from a runloop, and using GCD.