Add two threads into the IOT WIFIDemo for test_JacobShi
Dependencies: C12832 HTTPClient wifiontros wifirtos mbed
Fork of frdm_rtos by
Diff: sysinterface.h
- Revision:
- 3:5f921ff0868d
- Child:
- 4:242715d40e54
diff -r bc844894f0a4 -r 5f921ff0868d sysinterface.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysinterface.h Fri Nov 28 12:52:56 2014 +0000 @@ -0,0 +1,11 @@ +#ifndef __SYSINTERFACE_H +#define __SYSINTERFACE_H +#include "mbed.h" +#include "rtos.h" +//#include "globaldata.h" +//#include "baseinterface.h" +void send_task(void const *args); +void recv_task(void const *args); +#define sys_thread_new(taskname,function) Thread taskname(function) +#define net_system_start sys_thread_new(task2,recv_task);sys_thread_new(task1,send_task); +#endif \ No newline at end of file