Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
697: fixed go.go to properly select over channels during the put operation in select_both r=taiki-e a=AidanGoldfarb Per the [crossbeam benchmark configuration](https://github.com/crossbeam-rs/crossbeam/blob/master/crossbeam-channel/benchmarks/README.md) the `select_both` function is defined as: > select_both: T threads send N / T messages each by selecting over T channels. T other threads receive N / T messages each by selecting over the T channels. Previously, the `select_both` function in [go.go](https://github.com/crossbeam-rs/crossbeam/blob/3e83987f258ab85a6573704ba538f2efdfe587c1/crossbeam-channel/benchmarks/go.go#L128) did not utilize the `select` statement while sending messages. Added the use of the select statement. Co-authored-by: Aidan <[email protected]>
- Loading branch information