Archives
-
Thread pool module for Pike
Async provides a simple process pool that allocates a number of worker threads
that may then be utilized collectively without having to deal directly with
threads. Results of jobs sent to the pool are “future” objects, called Asyncs.
Asyncs’ values are then acquired by calling Async.sync, which blocks until the
value has been set by the pool. A supervisor thread monitors the worker threads
and restarts any that terminate abnormally.Mar 10th, 2009 | Filed under Programming -
Compiling Pike 7.8 on OSX PPC
Pike 7.8 did not compile out of the box on my Mac, so I figured I would write up what it took to get it working.
Feb 6th, 2009 | Filed under TipsTags: pike -
An overview of threading in Pike
Pike’s approach to threading is simple and mindful of the sanity of the programmer. Threading is available for all systems using Unix, POSIX, or Windows threads. Submit article
Sep 4th, 2008 | Filed under Programming