network_utils_test: fix race detected with TSAN

master
Andre Puschmann 4 years ago
parent f823340a95
commit b88f22b9fe

@ -44,7 +44,7 @@ int test_socket_handler()
{
auto& logger = srslog::fetch_basic_logger("S1AP", false);
int counter = 0;
std::atomic<int> counter = {0};
srsran::unique_socket server_socket, client_socket, client_socket2;
srsran::socket_manager sockhandler;

Loading…
Cancel
Save