Add two threads into the IOT WIFIDemo for test_JacobShi

Dependencies:   C12832 HTTPClient wifiontros wifirtos mbed

Fork of frdm_rtos by Freescale

Committer:
shiyilei
Date:
Fri Nov 28 12:52:56 2014 +0000
Revision:
3:5f921ff0868d
Child:
4:242715d40e54
Add two threads into the IOT WIFIDemo for test

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shiyilei 3:5f921ff0868d 1 #ifndef __SYSINTERFACE_H
shiyilei 3:5f921ff0868d 2 #define __SYSINTERFACE_H
shiyilei 3:5f921ff0868d 3 #include "mbed.h"
shiyilei 3:5f921ff0868d 4 #include "rtos.h"
shiyilei 3:5f921ff0868d 5 //#include "globaldata.h"
shiyilei 3:5f921ff0868d 6 //#include "baseinterface.h"
shiyilei 3:5f921ff0868d 7 void send_task(void const *args);
shiyilei 3:5f921ff0868d 8 void recv_task(void const *args);
shiyilei 3:5f921ff0868d 9 #define sys_thread_new(taskname,function) Thread taskname(function)
shiyilei 3:5f921ff0868d 10 #define net_system_start sys_thread_new(task2,recv_task);sys_thread_new(task1,send_task);
shiyilei 3:5f921ff0868d 11 #endif