Commit 66c8e78f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c687c97f
...@@ -36,8 +36,6 @@ import ( ...@@ -36,8 +36,6 @@ import (
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/pkg/errors" "github.com/pkg/errors"
"runtime"
) )
func xclose(c io.Closer) { func xclose(c io.Closer) {
...@@ -725,7 +723,6 @@ func TestHandshake(t *testing.T) { ...@@ -725,7 +723,6 @@ func TestHandshake(t *testing.T) {
// rtt over chan - for comparision as base // rtt over chan - for comparision as base
func benchmarkChanRTT(b *testing.B, c12, c21 chan byte) { func benchmarkChanRTT(b *testing.B, c12, c21 chan byte) {
go func() { go func() {
runtime.LockOSThread()
for { for {
c, ok := <-c12 c, ok := <-c12
if !ok { if !ok {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment