Add two threads into the IOT WIFIDemo for test_JacobShi
Dependencies: C12832 HTTPClient wifiontros wifirtos mbed
Fork of frdm_rtos by
sysinterface.cpp
- Committer:
- shiyilei
- Date:
- 2014-11-28
- Revision:
- 3:5f921ff0868d
- Child:
- 4:242715d40e54
File content as of revision 3:5f921ff0868d:
#include "sysinterface.h" //GLOBAL_DATA globaldata; void send_task(void const *args) { while(1) { // if(globaldata.send_ready==1) // { // globaldata.send_ready=0; // int idx=baselevel_send_data(globaldata.send_buffer,globaldata.send_length); // globaldata.send_length_over=idx; // globaldata.send_completed=1; // } int a=0; Thread::wait(40); } } void recv_task(void const *args) { while(1) { int b=0; Thread::wait(40); } }