At Sat, 21 Nov 2009 14:20:12 +0100, Peter Bex wrote: > > On Sat, Nov 21, 2009 at 01:42:01AM -0800, Timothy Beyer wrote: > > Dear Chicken Users List, > > > > Instead of what I expected to see: > > > > #<thread: primordial>: writing 33 > > #<thread: primordial>: reading 33 > > #<thread: primordial>: writing 44 > > #<thread: primordial>: reading 44 > > #<thread: primordial>: writing 55 > > #<thread: primordial>: reading 55 > > #<thread: primordial>: writing hello > > #<thread: primordial>: reading hello > > You would never see exactly this. The consumer is another thread, not > the primordial one. > My mistake, I meant to write thread1 for all usages of "#<thread: ... reading ...."
> > Is there any easy way to get this behavior? > > Try calling (thread-yield!) after writing. That gives me the output I noted above. (well, not exactly, as you pointed out) Thanks. > You really should upgrade to Chicken 4 :) > Agreed. I just haven't done so yet because of a few large third party chicken applications that I use. Thanks! Tim _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
