4 ms·
> It’s also worth mentioning that you can get Go-style M:N concurrency model in C by using Apple’s libdispatch. Not so fast. That library is only available for
by stefantalpalaru 12y ago
> It’s also worth mentioning that you can get Go-style M:N concurrency model in C by using Apple’s libdispatch.
Not so fast. That library is only available for OS X and FreeBSD.
- threeseed 12y agoThere are ports: Linux: https://github.com/nickhutchinson/libdispatch https://github.com/nickhutchinson/libdispatch Windows: https://github.com/DrPizza/libdispatch https://github.com/DrPizza/libdispatch
- stefantalpalaru 12y agoThe Linux port seems to be using OS threads from Pthreads instead of coroutines for the concurrent queue.