Better HN
topnewbestaskshowjobs
Log inSign up

TheBenjaneer

2 karma · joined Jun 6, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

Go actually does give you access to OS threads in the runtime package in the sense that you can easily reserve a thread for the current goroutine via http://golang.org/pkg/runtime/#LockOSThread and similarly can give it back up to the scheduler with runtime.UnlockOSThread()