26 #ifndef OUTPUT_THREAD_H_
27 #define OUTPUT_THREAD_H_
35 #define OUTPUT_THREAD_ID -1
int enqueue_for_output(struct thread_msg *thread_msg)
Enqueues a thread_msg for delivery to the output thread.
Messages to be delivered to dedos_threads.
struct dedos_thread * start_output_monitor_thread(void)
Starts the thread monitoring the queue for messages to be sent to other endpoints.
Control spawned threads with message queue within DeDOS.
A message to be delivered to a dedos_thread.
void stop_output_monitor()
Triggers the output thread to stop execution.
void join_output_thread()
Joins the underlying pthread.
Structure representing any thread within DeDOS.