3 ms·
Is there a way to bind a goroutine to a specific thread? Afaik, all C interop goes through a global lock because the runtime is weird.
by eptcyka 6y ago
Is there a way to bind a goroutine to a specific thread? Afaik, all C interop goes through a global lock because the runtime is weird.
- pansa2 6y agoruntime.LockOSThread? https://golang.org/pkg/runtime/#LockOSThread https://golang.org/pkg/runtime/#LockOSThread