Migrated from http://sourceforge.net/projects/zthread/