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

If you just want to start num-CPUs threads like that code does, there is no advantage of green threads over regular ones, std::thread in C++. If you want to start a thread per pixel or something, green threads could work, but it's probably more efficient to keep track of state manually.


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

Search: