Files
swift-nio/Sources
Cory Benfield 54c85cb263 Fix thread-safety issues in TCPThroughputBenchmark (#2537)
Motivation:

Several thread-safety issues were missed in code review. This patch fixes them.

Modifications:

- Removed the use of an unstructured Task, replaced with eventLoop.execute to
  ServerHandler's EventLoop.
- Stopped ClientHandler reaching into the benchmark object without any
  synchronization, used promises and event loop hops instead.

Result:

Thread safety is back
2023-10-25 02:20:49 -07:00
..