63 #define CHECKCOUNT(pPool) do { \ 64 if (!(pPool)->shutdown) { \ 65 assert((pPool)->threadsAreAwake + (pPool)->threadsSleeping == (pPool)->threadsRunning); \ 66 assert((pPool)->threadsWaking <= (pPool)->threadsSleeping); \ 91 unsigned int queued:1;
92 unsigned int running:1;
93 unsigned int freewhendone:1;
epicsEventId workerWakeup
unsigned int threadsWaking
A doubly-linked list library.
unsigned int threadsAreAwake
APIs for the epicsMutex mutual exclusion semaphore.
epicsEventId shutdownEvent
epicsThreadPoolConfig conf
unsigned int observerCount
int createPoolThread(epicsThreadPool *pool)
APIs for the epicsEvent binary semaphore.
unsigned int threadsRunning
unsigned int threadsSleeping
void(* epicsJobFunction)(void *arg, epicsJobMode mode)
C++ and C descriptions for a thread.
epicsEventId observerWakeup