10 #include <epicsThread.h>
11 #include <epicsMutex.h>
12 #include <epicsEvent.h>
14 #include <pv/sharedPtr.h>
18 typedef std::tr1::weak_ptr<epicsThreadRunable> value_type;
21 const std::string name;
31 typedef std::deque<value_type> queue_t;
36 typedef std::vector<epicsThread*> workers_t;
43 void start(
unsigned nworkers=1,
unsigned prio = epicsThreadPriorityLow);
46 void add(
const value_type& work);