Commit 7c03c4ad authored by Ian Craggs's avatar Ian Craggs

Add volatile to count, to try to get multi-thread test working properly

parent 8877a088
......@@ -495,7 +495,7 @@ Test2: multiple client objects used from multiple threads
*********************************************************************/
volatile int test2_arrivedcount = 0;
int test2_deliveryCompleted = 0;
volatile int test2_deliveryCompleted = 0;
MQTTClient_message test2_pubmsg = MQTTClient_message_initializer;
void test2_deliveryComplete(void* context, MQTTClient_deliveryToken dt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment