![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
THREADS.hpp@48:244d6d81bb52, 2018-01-09 (annotated)
- Committer:
- thomasmorris
- Date:
- Tue Jan 09 00:37:01 2018 +0000
- Revision:
- 48:244d6d81bb52
- Parent:
- 47:6d128e500875
- Child:
- 52:99915f5240b2
HOLY SHIT IT WORKS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 47:6d128e500875 | 1 | #ifndef THREADS_hpp |
thomasmorris | 47:6d128e500875 | 2 | #define THREADS_hpp |
thomasmorris | 47:6d128e500875 | 3 | |
thomasmorris | 47:6d128e500875 | 4 | #include "mbed.h" |
thomasmorris | 47:6d128e500875 | 5 | #include "rtos.h" |
thomasmorris | 47:6d128e500875 | 6 | //Threads |
thomasmorris | 47:6d128e500875 | 7 | extern Thread t1; //Sampler Set to a highest priority |
thomasmorris | 47:6d128e500875 | 8 | extern Thread t2; |
thomasmorris | 47:6d128e500875 | 9 | extern Thread t3; |
thomasmorris | 47:6d128e500875 | 10 | extern Thread t4; |
thomasmorris | 47:6d128e500875 | 11 | extern Thread t5; |
thomasmorris | 48:244d6d81bb52 | 12 | extern Thread t6; |
thomasmorris | 47:6d128e500875 | 13 | |
thomasmorris | 47:6d128e500875 | 14 | //Thread IDs |
thomasmorris | 47:6d128e500875 | 15 | extern osThreadId idMain; |
thomasmorris | 47:6d128e500875 | 16 | extern osThreadId id1; |
thomasmorris | 47:6d128e500875 | 17 | extern osThreadId id2; |
thomasmorris | 47:6d128e500875 | 18 | extern osThreadId id3; |
thomasmorris | 47:6d128e500875 | 19 | extern osThreadId id4; |
thomasmorris | 47:6d128e500875 | 20 | extern osThreadId id5; |
thomasmorris | 48:244d6d81bb52 | 21 | extern osThreadId id6; |
thomasmorris | 47:6d128e500875 | 22 | |
thomasmorris | 47:6d128e500875 | 23 | #endif |