[Stackless] Scheduling Examples, Problems, Solutions, and Questions

Andrew Francis andrewfr_ice at yahoo.com
Wed Dec 14 22:23:56 CET 2005


Hello Asgeir:

--- Ásgeir Bjarni Ingvarsson <istari at hlekkir.com>
wrote:

--WAITING--
F  about to Join
F joining  EtoF
E  about to Join
E joining  CtoE
D  about to Join
D joining  CtoD
B  about to Join
B finished joining
B *** finished Executing ***
B about to update dependents
B updating  BtoE
C  about to Join
C joining  AtoC
A  about to Join
A finished joining
A *** finished Executing ***
A about to update dependents
A updating  AtoC
C --joined--  AtoC
C joining  BtoC
A --updated--  AtoC
A finishing
--FINISHED WAITING--

> Well as I understand it, E has only announced it's
> intetion to read on CtoE and is blocked before it
can call
> receive on BtoE. Therefore the scheduler has no
knowledge 
>of E's intent to read on BtoE.

> Also, it seems to me that C is waiting for B not E

Once again, you are right. I should learn to read my
own
diagnostics more correctly.

> This is what I mean when I talk about the order of
> the joins.

Yes, I realise the loop is bad because of the way the
scheduler
kicks in. Of course, I want to avoid sensitivity to
order. 

Cheers,
Andrew

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list