Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check client use from multiple threads #25

Closed
jpwsutton opened this issue Feb 4, 2016 · 1 comment
Closed

Check client use from multiple threads #25

jpwsutton opened this issue Feb 4, 2016 · 1 comment
Assignees

Comments

@jpwsutton
Copy link
Member

migrated from Bugzilla #441950
status ASSIGNED severity normal in component MQTT-C for 1.1
Reported in version 1.1 on platform PC
Assigned to: Ian Craggs

On 2014-08-18 05:29:04 -0400, Ian Craggs wrote:

A new test should be created which checks the use of both C client libraries (multi-threaded mode for the sync library) from multiple client threads.

I expect the locking to work correctly. What I suspect may be a problem is the starting of the background thread(s). Only one instance of each should be started. This depends on the variables storing the thread state being shared.

Needs to be checked on all operating systems (Linux, Windows, Mac), as it may be OS dependent.

On 2015-02-09 06:19:15 -0500, Ian Craggs wrote:

Adding helpwanted flag

On 2015-08-13 11:50:41 -0400, Ian Craggs wrote:

I've created test2 which test multiple thread access to the same client object for MQTTClient.

Remaining tests:

  • multiple thread access to multiple client objects for MQTTClient
  • the same two tests for MQTTAsync
@icraggs icraggs self-assigned this Jul 27, 2016
@icraggs
Copy link
Contributor

icraggs commented Mar 28, 2017

This has been done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants