Skip to content

Commit

Permalink
Drop note about go 1.10 compatibility
Browse files Browse the repository at this point in the history
Now that we require `go` `1.17`, this note is no longer relevant.
  • Loading branch information
jeffwidman committed Jan 13, 2023
1 parent 9e0c817 commit 7cae74b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,3 @@ func main() {
}

```

## NOTE

The library can be safely used only with Go >= 1.10 due to [golang/go#20676](https://github.com/golang/go/issues/20676).

After locking a goroutine to its current OS thread with `runtime.LockOSThread()`
and changing its network namespace, any new subsequent goroutine won't be
scheduled on that thread while it's locked. Therefore, the new goroutine
will run in a different namespace leading to unexpected results.

See [here](https://www.weave.works/blog/linux-namespaces-golang-followup) for more details.

0 comments on commit 7cae74b

Please sign in to comment.