Deadlock when cancelling coros
Marc Lehmann
schmorp at schmorp.de
Fri May 6 08:39:57 CEST 2011
On Thu, May 05, 2011 at 06:53:59PM -0400, Laurent <laurent.aml at gmail.com> wrote:
> I have the following deadlock issue with Coro...
Thats simply a bug in your code - after you cancel a coro, you cannot switch
to it anymore - it has been canceled.
> Any idea about how to handle this correctly?
Use callbacks, on_destroy, or another coro.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list