#ifndef _WORKER_H_ #define _WORKER_H_ /* Initializes the number of workers specified. */ int workers_initialize(int thread_count); /* The worker will attack the queue of jobs to completed and while there are more jobs to be peformed will do them. */ void* worker_run(void* p); /* This function will wait until all workers are done. */ void wait_for_workers(); #endif/*_WORKER_H_*/