diff options
Diffstat (limited to 'include/build.h')
-rw-r--r-- | include/build.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/build.h b/include/build.h new file mode 100644 index 0000000..c51bc5d --- /dev/null +++ b/include/build.h @@ -0,0 +1,12 @@ +#include <pthread.h> +#include <sys/queue.h> + +#include "queue.h" + +struct build_thread { + pthread_t tid; + struct queue *queue; +}; + +void *build_thread_entry(void *queue_thread); +int build_thread_new(struct build_thread **build_thread, struct queue *q); |