Shadow Network Framework
0.0.1-alpha
C Server Library for Shadow Network Framework
|
Defines the 'work' needed to do by defining a 'func'tion and it's 'arg'ument. More...
#include <SNF/thpool.h>
Data Fields | |
void *(* | func )() |
The function to be executed upon. | |
void * | arg |
the argument to be given upon execution | |
thpool * | pool |
the source Thread Pool | |
SNF_thpool_worker * | worker |
The thread pool's handling worker. | |
SNF_thpool_work * | next |
Saves the next work ( Linked List ) | |
Defines the 'work' needed to do by defining a 'func'tion and it's 'arg'ument.
void *(* SNF_ThreadPool_work_t::func) () |
The function to be executed upon.
void* SNF_ThreadPool_work_t::arg |
the argument to be given upon execution
thpool* SNF_ThreadPool_work_t::pool |
the source Thread Pool
SNF_thpool_worker* SNF_ThreadPool_work_t::worker |
The thread pool's handling worker.
SNF_thpool_work* SNF_ThreadPool_work_t::next |
Saves the next work ( Linked List )