EE445M RTOS
Taken at the University of Texas Spring 2015
thread.h
Go to the documentation of this file.
1 /* -*- mode: c; c-basic-offset: 4; -*- */
2 
3 /* todo: doxygenize */
4 /* todo: nail down what a task is and a thread. I have a hunch these
5  * are just tasks. confer with Hershal and also consider renaming this
6  * to libtask. */
7 
8 #ifndef __THREAD__
9 #define __THREAD__
10 
11 /* These are the suffixes (prefixes are task names) that guarantee a
12  * task can be considered a task */
13 #define THREAD_SPAWN _spawn
14 #define THREAD_REPRESENT _represent
15 #define THREAD_KILL _kill
16 
17 #define THREAD_MAKE_TASK
18 
19 #endif