Skip to content

Thread queue

struct thread_queue {
struct list_head list;
struct spinlock lock;
};

struct thread_queue referenced types:

void thread_queue_init(struct thread_queue *q);

thread_queue_init referenced types:

void thread_queue_push_back(struct thread_queue *q, struct thread *t);

thread_queue_push_back referenced types:

struct thread * thread_queue_pop_front(struct thread_queue *q);

thread_queue_pop_front referenced types:

void thread_queue_clear(struct thread_queue *q);

thread_queue_clear referenced types:

bool thread_queue_remove(struct thread_queue *q, struct thread *t);

thread_queue_remove referenced types: