#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <time.h>
#include "libsheepyObject.h"
#include "tpool.h"
Go to the source code of this file.
◆ _POSIX_C_SOURCE
| #define _POSIX_C_SOURCE 200809L |
◆ tpool_DEBUG
◆ err
| #define err |
( |
|
str | ) |
logE(str) |
◆ bsem
◆ job
◆ jobqueue
◆ thread
◆ tpool_
◆ tpoolLock()
| void tpoolLock |
( |
int |
position | ) |
|
◆ tpoolUlock()
| void tpoolUlock |
( |
int |
position | ) |
|
◆ tpool_init()
◆ tpool_add_work()
| int tpool_add_work |
( |
threadpool |
tpool_p, |
|
|
void(*)(void *) |
function_p, |
|
|
void * |
arg_p |
|
) |
| |
◆ tpool_wait()
◆ tpool_destroy()
◆ tpool_pause()
◆ tpool_resume()
◆ tpool_num_threads_working()
| int tpool_num_threads_working |
( |
threadpool |
tpool_p | ) |
|
◆ tpoolLocks
◆ tpool