DispatchLife

Last Revision:
Version 1.2, 2009-05-29
Updated for new libdispatch APIs
Build Requirements:
Mac OS X version 10.6 Snow Leopard
Runtime Requirements:
Mac OS X version 10.6 Snow Leopard

The classic game of Life showing use of dispatch queues as lightweight threads (each cell is a queue), and an example of how to avoid overloading a slow queue (OpenGL or curses screen updates) with many requests (cell updates) by using a timer to drive the screen updates and allowing the cells to update as fast as they can.