10 Nov
2010
10 Nov
'10
12:21 a.m.
Why doesn't this simple code display any messages? class MyEvent extends Event { string s; } // class MyEvent spork ~ f(); MyEvent e; e => now; // wait for it // this is never printed and this shred never exits <<<"Event occured.">>>; me.exit(); function void f() { MyEvent e; while (true) { // fire one event per second e.broadcast (); 1::second => now; } // while //<<<"Broadcast...">>>; } // f Thanx muchly as always. <smile> -- Rich