On Thu, Apr 27, 2017 at 11:18 PM, hui zhang <fastfad...@gmail.com> wrote:
>
> How let go and c code work Alternately in the same thread with
> goroutine(corouting mechanism)

I'm not sure but I think you may be looking for
https://golang.org/pkg/runtime/#LockOSThread .

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to