Start on embedded MQTT-SN gateway

This commit is contained in:
Ian Craggs
2016-01-07 09:38:00 +00:00
parent 9a442c4f9a
commit 29dbce0302
7 changed files with 1174 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
extern "C"
{
#include "Thread.h"
}
class Thread
{
/*
Thread(void (*fn)(void const *argument), void *argument)
{
Thread_start(fn, arg);
}*/
public:
Thread(void (*fn)(void const *argument))
{
const void* arg = NULL;
//Thread_start((void (*)(void *))fn, arg);
}
};
class Mutex
{
};