Revision history for Perl extension Thread::Workers.
0.05 Tue Sep 4 08:30:00 2012
- POD updates and fixes
0.04 Mon Sep 3 21:29:12 2012
- kal: - separated out thread creation sub
- simplified worker creation/adding subs
- updated POD documentation, including example
0.03 Mon Sep 3 15:00:00 2012
- kal: - added worker log and boss callback for log processing
- fixed numerous bugs, added semaphores to log the _*_cmd vars when controlling threads
- changed thread numbering scheme. totalthreads now includes boss.
0.02 Sun Sep 2 14:25:12 2012
- kal: - fixed version numbers and time stamper
- fixed not sharing _cmd signaler to new workers
- fixed not sharing _pid to new workers
- added boss_sleep() and workers_sleep() methods
- this causes boss/workers to finish their current task, then enter a sleep state until woken or killed
- added boss_wake() and workers_wake()
- causes boss/workers to wake from a sleep state. if already awake, does nothing.
- added work log
- if worker has a return value, it stores it in a work log. The boss on each cycle will either empty this log
or you can assign an optional callback for the boss to process the data. regardless, this log is deleted
on each boss thread cycle.
- added a semaphor to lock access to this log. probably best if you only return a pass/fail from a worker. ;)
- fixed some POD commenting
0.01 Sun Sep 2 08:00:00 2012
- kal: original version;