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 data races in TcpClientListener #3495

Conversation

AKalinich-Luxoft
Copy link
Contributor

@AKalinich-Luxoft AKalinich-Luxoft commented Sep 4, 2020

Fixes #3187

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Covered by unit tests

Summary

Regarding of Helgrind report. Changed type of TcpClientListener::thread_stop_requested_ from bool to std::atomic_bool.
The same for remove_devices_on_terminate_

Tasks Remaining:

  • Test this fix

CLA

Regarding of Helgrind report.
Changed type of TcpClientListener::thread_stop_requested_
from bool to std::atomic_bool.
The same for remove_devices_on_terminate_
@AKalinich-Luxoft AKalinich-Luxoft force-pushed the fix/fix_data_races_in_tcp_client_listener branch from 0bbf89e to 48d0a33 Compare September 5, 2020 16:28
@iCollin iCollin changed the base branch from develop to release/7.0.0 September 30, 2020 20:12
@iCollin iCollin merged commit 46f3bfa into smartdevicelink:release/7.0.0 Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants