Description

LockOSThread wires the calling goroutine to its current operating system thread. Until the calling goroutine exits or calls UnlockOSThread, it will always execute in that thread, and no other goroutine can.

LockOSThread is referenced in 582 repositories

github.com/golang/go github.com/libgit2/git2go github.com/FiloSottile/git2go

...