LWN.net Logo

Coroutines

Coroutines

Posted May 11, 2012 13:43 UTC (Fri) by hanwen (subscriber, #4329)
In reply to: Coroutines by juliank
Parent article: nPth - The new GNU portable threads library

well, you need synchronization. Either channels or locks. A coroutine which does not synchronize at all may be optimized to not run at all, according to the spec.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds