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
Archive for March, 2009