Teemu Koponen <[email protected]> writes:

> On Feb 25, 2009, at 22:20 , Ye Deng wrote:
>
>> It seems that I should let the application code directly take use of
>> the synchronization primitives, such as Co_sema (implemented in
>> "cooperative.cc").
>>
>> Is there any typical pitfall I should take care of when using them?
>
> I'd say there are only the usual pitfalls of writing threaded code.

Probably fewer, since there is no actual parallelism.  The points
at which threads can switch are well-defined.

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to