Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: operation/OperationSupport.h
- Revision:
- 67:c360a2b2c948
- Parent:
- 65:a62dbef2f924
- Child:
- 68:0dc778a16d0d
--- a/operation/OperationSupport.h Thu Oct 30 14:46:22 2014 +0000
+++ b/operation/OperationSupport.h Sun Nov 30 19:34:49 2014 +0000
@@ -27,18 +27,20 @@
void thread1();
void thread2();
+ void thread3();
static void thread1_func(void const*);
static void thread2_func(void const*);
+ static void thread3_func(void const*);
private:
- bool _init;
+ bool _init, _firstRun;
long& _deviceId;
SmartRestTemplate& _tpl;
AbstractSmartRest& _client;
OperationStore _store;
OperationExecutor _executor;
- Thread _thread1, _thread2;
+ Thread _thread1, _thread2, _thread3;
};
extern CharValue aOperationStatePending;

Cumulocity