My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Attributes | List of all members
worker_thread Struct Reference

Representation of a thread that holds MSUs, messages, and waits on a semaphore. More...

#include <worker_thread.h>

Public Attributes

struct dedos_threadthread
 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_msumsus [MAX_MSU_PER_THREAD]
 The MSUs on the thread. More...
 
struct timeout_listtimeouts
 The times at which the sem_trywait on on the local semaphore should be released. More...
 

Detailed Description

Representation of a thread that holds MSUs, messages, and waits on a semaphore.

Definition at line 40 of file worker_thread.h.

Member Data Documentation

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.


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