5 Struct CALLBACK_DATA
gullradriel edited this page 2026-10-09 00:55:18 +02:00

CALLBACK_DATA

data passed to accept callback and worker threads

Public Attributes

Name
THREAD_POOL * worker_pool
thread pool for dispatching (modes single-pool and pooled)
pthread_mutex_t lock
mutex for counter
size_t handled
atomic counter of handled connections

Public Attributes Documentation

variable worker_pool

THREAD_POOL * worker_pool;

thread pool for dispatching (modes single-pool and pooled)

variable lock

pthread_mutex_t lock;

mutex for counter

variable handled

size_t handled;

atomic counter of handled connections