Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
NativeWorkerPool Struct Reference

Data Fields

WorkerContext ** items
size_t capacity
size_t head
size_t tail
size_t count
int shutting_down
size_t worker_count
pthread_mutex_t mutex
pthread_cond_t not_empty
pthread_t * threads

Detailed Description

Definition at line 138 of file pharos_runtime.c.

Field Documentation

◆ capacity

size_t NativeWorkerPool::capacity

◆ count

size_t NativeWorkerPool::count

◆ head

size_t NativeWorkerPool::head

Definition at line 141 of file pharos_runtime.c.

Referenced by native_worker_pool_destroy(), and native_worker_pool_thread_main().

◆ items

◆ mutex

◆ not_empty

◆ shutting_down

int NativeWorkerPool::shutting_down

◆ tail

size_t NativeWorkerPool::tail

Definition at line 142 of file pharos_runtime.c.

Referenced by native_worker_pool_enqueue().

◆ threads

pthread_t* NativeWorkerPool::threads

◆ worker_count

size_t NativeWorkerPool::worker_count

Definition at line 145 of file pharos_runtime.c.

Referenced by native_worker_pool_init(), and native_worker_pool_join().


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