Add test for releasing connections back to the server
This commit is contained in:
@@ -131,15 +131,3 @@ bool Connection::writeBytes() {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void Connection::tsan_acquire() {
|
||||
#if __has_feature(thread_sanitizer)
|
||||
tsan_sync_.load(std::memory_order_acquire);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Connection::tsan_release() {
|
||||
#if __has_feature(thread_sanitizer)
|
||||
tsan_sync_.store(0, std::memory_order_release);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user