Shadow Network Framework  0.0.2-alpha
C Server Library for Shadow Network Framework
Loading...
Searching...
No Matches
SNF_ThreadPool_work_t Struct Reference

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
 
SNF_thpoolpool
 the source Thread Pool
 
SNF_thpool_worknext
 Saves the next work ( Linked List )
 

Detailed Description

Defines the 'work' needed to do by defining a 'func'tion and it's 'arg'ument.

Field Documentation

◆ func

void *(* SNF_ThreadPool_work_t::func) ()

The function to be executed upon.

◆ arg

void* SNF_ThreadPool_work_t::arg

the argument to be given upon execution

◆ pool

SNF_thpool* SNF_ThreadPool_work_t::pool

the source Thread Pool

◆ next

SNF_thpool_work* SNF_ThreadPool_work_t::next

Saves the next work ( Linked List )


The documentation for this struct was generated from the following file: