Files
GTSchoolShit/CS4210/cs4210/proj3/src/client/worker.h
2025-06-07 01:59:34 -04:00

15 lines
388 B
C

#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_*/