[Stackless] Proposed modification WRT threading and scheduling
Kristján Valur Jónsson
kristjan at ccpgames.com
Sat May 3 17:23:18 CEST 2008
I am confused, In my build I get an exception.
Have you tried running a debug version, or using a debugger? Exiting without an exception is a bug.
K
> -----Original Message-----
> From: Richard Tew [mailto:richard.m.tew at gmail.com]
> Sent: Saturday, May 03, 2008 14:00
> To: Kristján Valur Jónsson
> Cc: Stackless mailing list
> Subject: Re: [Stackless] Proposed modification WRT threading and
> scheduling
>
> On Sat, May 3, 2008 at 8:55 AM, Kristján Valur Jónsson
> <kristjan at ccpgames.com> wrote:
> > It doesn't exit, you just get the deadlock exception, right?
> > This is what has always happened, and what used to happen if you
> > compiled stackless without Thread support. How is this bad?
>
> It exits with no exception. This is bad because you expect a channel
> to block and if a receive call returns rather than just raising an
> error, you expect that to mean that it did something. I couldn't work
> out why my code was not working, until I worked out this was going on.
>
> Should it raise a deadlock exception, or does that defeat the whole
> point of the change we made? Should it block instead?
>
> Cheers,
> Richard.
More information about the Stackless
mailing list