Add two threads into the IOT WIFIDemo for test_JacobShi

Dependencies:   C12832 HTTPClient wifiontros wifirtos mbed

Fork of frdm_rtos by Freescale

sysinterface.h

Committer:
shiyilei
Date:
2014-11-28
Revision:
3:5f921ff0868d
Child:
4:242715d40e54

File content as of revision 3:5f921ff0868d:

#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