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

Anyone know if goroutines are still implemented as native POSIX threads in gccgo?


Yes, they are.


Yes and no. They do use a thread pool of OS threads, but they don't map 1-to-1 to goroutines.


That's true for the gc compilers, but not for gccgo (yet, anyway). Each go statement in gccgo creates a pthread.




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

Search: