This commit is contained in:
2016-09-17 15:04:12 +03:00
parent 95a6f1fe97
commit 2442ceaee2
4 changed files with 127 additions and 0 deletions

12
job_queue.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef JOB_QUEUE_H
#define JOB_QUEUE_H
#include "protocol.h"
//void* create_job(void *arg);
int start_msg_queue(void);
void free_queue(int id);
int start_job_queue(int poolsize);
int add_msg_to_queue(int id, struct msg_t buf);
#endif /* JOB_QUEUE_H */