runtime: copy Go 1.7 runtime semaphore code
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
Showing
libgo/go/runtime/sema.go
0 → 100644
libgo/runtime/sema.goc
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment