Boost logo

Boost :

From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2008-07-15 13:13:42

I'd like to request a review of my thread_pool library - it is available at the boost vault/Concurrent

The library provides:

- thread creation policies: determines the managemnt of worker threads
    - fixed set of threads in pool
    - create workerthreads on demand (depending on context)
    - let worker threads ime out after certain idle time

- channel policies: manages access to queued tasks
   - bounded channel with high and low watermark for queuing tasks
   - unbounded channel with unlimited numer of queued tasks
   - rendezvous syncron hand-over between producer and consumer threads

- queueing policy: determines how tasks will be removed from channel
   - FIFO
   - LIFO
   - priority queue (attribute assigned to task)
   - smart insertions and extractions (for instance remove oldest task with
certain attribute by newst one)

- tasks can be chained and lazy submit of taks is also supported (thanks to
Braddocks future library).

- returns a task object from the submit function. The task it self can
be interrupted if its is cooperative (means it has some interruption points
in its code -> this_thread::interruption_point() ).


GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!

Boost list run by bdawes at, gregod at, cpdaniel at, john at