Representation of a thread that holds MSUs, messages, and waits on a semaphore. More...
#include <worker_thread.h>
Public Attributes | |
struct dedos_thread * | thread |
The underlying dedos_thread. More... | |
int | n_msus |
The number of msus on the thread. More... | |
pthread_mutex_t | exit_lock |
Lock protecting the worker_thread::exit_signal. More... | |
int | exit_signal |
struct local_msu * | msus [MAX_MSU_PER_THREAD] |
The MSUs on the thread. More... | |
struct timeout_list * | timeouts |
The times at which the sem_trywait on on the local semaphore should be released. More... | |
Representation of a thread that holds MSUs, messages, and waits on a semaphore.
Definition at line 40 of file worker_thread.h.
pthread_mutex_t worker_thread::exit_lock |
Lock protecting the worker_thread::exit_signal.
Definition at line 46 of file worker_thread.h.
int worker_thread::exit_signal |
Definition at line 47 of file worker_thread.h.
struct local_msu* worker_thread::msus[MAX_MSU_PER_THREAD] |
The MSUs on the thread.
Definition at line 49 of file worker_thread.h.
int worker_thread::n_msus |
The number of msus on the thread.
Definition at line 44 of file worker_thread.h.
struct dedos_thread* worker_thread::thread |
The underlying dedos_thread.
Definition at line 42 of file worker_thread.h.
struct timeout_list* worker_thread::timeouts |
The times at which the sem_trywait on on the local semaphore should be released.
Definition at line 51 of file worker_thread.h.