Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: cgo using programs have a goroutine marked [syscall, locked to thread]; make it clearer #16714
Please answer these questions before submitting your issue. Thanks!
changed the title
[syscall, 214 minutes, locked to thread] blocked for 214 minutes, is it normal?
Aug 16, 2016
@jbardin Thanks for pointing that out. That explains it. It's not a finalizer goroutine (which indicates its status with "finalizer"). It's a spare goroutine that is created for any Go program that uses cgo in case a thread started by C code calls a Go function.
So this is completely normal. I will leave this issue open to make it appear less odd in a stack trace, such as by using a function other than