thread.h File Reference

Provides utility functions for event handler threads. More...

Detailed Description

Provides utility functions for event handler threads.

Event Thread API

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file thread.h.

#include <stddef.h>
#include "event.h"
+ Include dependency graph for thread.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

void event_thread_init (event_queue_t *queue, char *stack, size_t stack_size, unsigned priority)
 Convenience function for initializing an event queue thread. More...
 

Function Documentation

◆ event_thread_init()

void event_thread_init ( event_queue_t queue,
char *  stack,
size_t  stack_size,
unsigned  priority 
)

Convenience function for initializing an event queue thread.

Parameters
[in]queueptr to preallocated queue object
[in]stackptr to stack space
[in]stack_sizesize of stack
[in]prioritypriority to use