Saturday deep dive into the Go runtime's watchdog thread: sysmon
It runs without a P, outside the scheduler, monitoring everything. When a goroutine hogs the CPU for over 10ms, sysmon steps in. When a syscall blocks a P, sysmon retakes it.
Drops Monday
#golang #go #runtime
7 days ago