diff options
Diffstat (limited to 'accel-pppd/triton/triton_p.h')
-rw-r--r-- | accel-pppd/triton/triton_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/accel-pppd/triton/triton_p.h b/accel-pppd/triton/triton_p.h index a16ef98..fe735bf 100644 --- a/accel-pppd/triton/triton_p.h +++ b/accel-pppd/triton/triton_p.h @@ -10,6 +10,8 @@ #include "spinlock.h" #include "mempool.h" +#define CTX_PRIO_MAX 4 + struct _triton_thread_t { struct list_head entry; @@ -18,8 +20,7 @@ struct _triton_thread_t int terminate; struct _triton_context_t *ctx; pthread_mutex_t sleep_lock; - pthread_cond_t sleep_cond; - struct list_head wakeup_list; + struct list_head wakeup_list[CTX_PRIO_MAX]; }; struct _triton_context_t |