Better HN
topnewbestaskshowjobs
Log inSign up

rdpmc

7 karma · joined Aug 20, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

You can also implement a simple version of channels (go's concurrency model) on top of something like that, with just one more page of C: https://github.com/danluu/setjmp-longjmp-ucontext-snippets/b...

https://github.com/danluu/setjmp-longjmp-ucontext-snippets/b...