Fix tsan warning in AsyncUDPSocket test
Summary: tsan reports warning in the test because the server socket writes in a thread but closes in another thread without synchronization. This was by design and is not a bug since implicit synchronization is done by joining client thread, but this isn't visible to tsan. The fix is to use a port reused new server socket to write response to client. Reviewed By: yfeldblum Differential Revision: D24675113 fbshipit-source-id: bdab8a5d5b6f85aa36ba84a6299e4457710625de
Showing
Please register or sign in to comment