sema.go
8.83 KB
-
runtime: copy Go 1.7 runtime semaphore code · 543f217b
This triggered a check in releaseSudog that g.param not nil, because libgo uses the param field when starting a goroutine. Fixed by clearing g->param in kickoff in proc.c. Reviewed-on: https://go-review.googlesource.com/30951 From-SVN: r241067
Ian Lance Taylor committed