libtpool 1.0.0
Thread Pool in C
All Data Structures Files Functions Variables Typedefs Macros Pages
tpool.h
Go to the documentation of this file.
1
9#ifndef __LIBTPOOL_TPOOL_H
10#define __LIBTPOOL_TPOOL_H 1
11
24/* Header files */
25#include "pool.h"
26#include "task.h"
27#include "global.h"
28#include "tqueue.h"
29#include "util.h"
30
37void tpool_new(tpool_t* pool, u_int8_t size);
38
49void tpool_finish(tpool_t *pool);
50
51#endif
This header file contains macros that are needed globally.
This contains all the elements of the thread pool.
Thread pool instance.
Definition: pool.h:19
This contains all the elements required by a task.
void tpool_finish(tpool_t *pool)
Finish the thread pool execution.
Definition: tpool.c:56
void tpool_new(tpool_t *pool, u_int8_t size)
Initialize a thread pool library.
Definition: tpool.c:18
This header file contains the various functionality of the queue-wrapper that the thread pool uses fo...
This contains all the utilities used through the library.