Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc: unlock OS thread on exit from handlePtraceFuncs
On FreeBSD and OpenBSD, the use of runtime.LockOSThread is resulting in segfaults within the Go runtime (see golang/go#52394) - while it should not be necessary, calling runtime.UnlockOSThread upon exit from handlePtraceFuncs avoids this issue and allows the tests to run correctly.
- Loading branch information