runtime.LockOSThread
standard libraryThe 3299th most-called standard-library function by production calls. Called 275 times across 65 modules; 179 of those run outside tests and generated code.
- prod calls
- 179
- non-test, non-generated
- all calls
- 275
- total callsites
- modules
- 65
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 35%
- 96 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into LockOSThread from notable Go projects. Open one on the map to see what else it hammers.
- Docker 35 20%
- containerd 10 6%
- Cilium 8 4%
- Istio 4 2%
- KubeVirt 4 2%
where it's called
Callsites in the wild
12 representative callsites of 275, prioritizing in-loop and non-test usage. We link to source, never display it.
-
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop - in loop
- in loop test
- in loop test
-
google/gopacket @v1.1.19
in loop test - in loop test
- in loop test
-
-
containerd/go-runc @v1.1.0
-
fyne.io/fyne @v1.4.3
internal/driver/glfw/loop.go:37
-
-
DNSCrypt/dnscrypt-proxy @v0.0.0-20260801091651-c3ba78fac8a3
top callers
The modules that reach for it
The modules that call LockOSThread most in this snapshot.
- github.com/docker/libnetwork4316%
- github.com/google/gvisor259%
- github.com/containernetworking/plugins166%
- github.com/docker/docker155%
- github.com/moby/moby155%
siblings
More from runtime
The other most-called functions in this package. See all →