mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-14 07:56:52 +01:00
Start on embedded MQTT-SN gateway
This commit is contained in:
36
MQTTSNGateway/src/linux/Threading.h
Normal file
36
MQTTSNGateway/src/linux/Threading.h
Normal 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
|
||||
{
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user