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

Fix mosquitto_loop_stop() hangs on Windows. #1748

Closed

Commits on Jul 12, 2020

  1. Fix mosquitto_loop_stop() hangs on Windows.

    Before this commit, mosquitto_loop_forever() would not always
    terminate on Windows when calling mosquitto_loop_stop() with
    the force flag set to true.
    
    This commit adds explicit thread cancellation points in
    mosquitto_loop_forever() as described in issue eclipse#117 to
    ensure that mosquitto_loop_stop() does not hang when
    joining the Mosquitto thread.
    
    Closes eclipse#117.
    
    Signed-off-by: Sigmund Vik <[email protected]>
    SigmundVik committed Jul 12, 2020
    Configuration menu
    Copy the full SHA
    18e995e View commit details
    Browse the repository at this point in the history