Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
7c03c4ad
Commit
7c03c4ad
authored
Nov 10, 2015
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add volatile to count, to try to get multi-thread test working properly
parent
8877a088
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test2.c
test/test2.c
+1
-1
No files found.
test/test2.c
View file @
7c03c4ad
...
@@ -495,7 +495,7 @@ Test2: multiple client objects used from multiple threads
...
@@ -495,7 +495,7 @@ Test2: multiple client objects used from multiple threads
*********************************************************************/
*********************************************************************/
volatile
int
test2_arrivedcount
=
0
;
volatile
int
test2_arrivedcount
=
0
;
int
test2_deliveryCompleted
=
0
;
volatile
int
test2_deliveryCompleted
=
0
;
MQTTClient_message
test2_pubmsg
=
MQTTClient_message_initializer
;
MQTTClient_message
test2_pubmsg
=
MQTTClient_message_initializer
;
void
test2_deliveryComplete
(
void
*
context
,
MQTTClient_deliveryToken
dt
)
void
test2_deliveryComplete
(
void
*
context
,
MQTTClient_deliveryToken
dt
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment