![]() |
naev 0.12.6
|
Threadqueue itself. More...

Data Fields | |
| Node * | first |
| Node * | last |
| Node * | reserve |
| SDL_sem * | semaphore |
| SDL_mutex * | t_lock |
| SDL_mutex * | h_lock |
| SDL_mutex * | r_lock |
| SDL_cond * | cond |
| SDL_mutex * | mutex |
| struct vpoolThreadData_ * | arg |
| int | cnt |
Threadqueue itself.
Definition at line 63 of file threadpool.c.
| struct vpoolThreadData_* ThreadQueue::arg |
Definition at line 75 of file threadpool.c.
| int ThreadQueue::cnt |
Definition at line 76 of file threadpool.c.
| SDL_cond* ThreadQueue::cond |
Definition at line 73 of file threadpool.c.
| Node* ThreadQueue::first |
The first node
Definition at line 64 of file threadpool.c.
| SDL_mutex* ThreadQueue::h_lock |
Same as tail lock, except it's head lock
Definition at line 70 of file threadpool.c.
| Node* ThreadQueue::last |
The second node
Definition at line 65 of file threadpool.c.
| SDL_mutex* ThreadQueue::mutex |
Definition at line 74 of file threadpool.c.
| SDL_mutex* ThreadQueue::r_lock |
For reserve buffer.
Definition at line 71 of file threadpool.c.
| Node* ThreadQueue::reserve |
Reserve buffer.
Definition at line 66 of file threadpool.c.
| SDL_sem* ThreadQueue::semaphore |
Definition at line 68 of file threadpool.c.
| SDL_mutex* ThreadQueue::t_lock |
Tail lock. Lock when reading/updating tail
Definition at line 69 of file threadpool.c.