Skip to content

Commit 508d460

Browse files
committed
Updating a volatile variable in test_http_server.cpp on Windows that should be atomic for sychronization instead of just volatile.
1 parent 0dd86b1 commit 508d460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/tests/functional/http/utilities/test_http_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ class _test_http_server
484484
HTTP_SERVER_SESSION_ID m_session;
485485
HTTP_URL_GROUP_ID m_url_group;
486486
HANDLE m_request_queue;
487-
volatile bool m_isClosing;
487+
std::atomic<bool> m_isClosing;
488488
};
489489
#else
490490
class _test_http_server

0 commit comments

Comments
 (0)