Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The goroutine is a user-thread, Go can create as many threads as there are cores and schedules user-threads inside these threads without the programmer managing that, you just create goroutines. When a goroutine "blocks" it schedules out from the thread and another can replace it.

http://golang.org/doc/effective_go.html#goroutines



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: