--- Leopold Toetsch <[EMAIL PROTECTED]> wrote:

> Joshua Gatcomb <[EMAIL PROTECTED]> wrote:
> > ... only 1 of the
> > two messages is displayed
> 
> I've fixed a flaw in the IO flush code. Please try
> again, thanks.

Still not working, but thanks!  The behavior has
changed a bit though.

Here is the behavior prior to the fix - notice the
location of the sleep statement

Case 1:
(as checked out)
$ cat t/pmc/threads_2.pasm  <snipped>
    set I3, 1
    invoke      # start the thread

    sleep 1
    print "main "
    print I5

$ ./parrot t/pmc/threads_2.pasm
thread 1

Case 2:
(remove sleep all together)

$ ./parrot t/pmc/threads_2.pasm
main 10
thread 1

Case 3:
$ cat t/pmc/threads_2.pasm <snipped>
    invoke      # start the thread

    print "main "
    sleep 1
    print I5

$ ./parrot t/pmc/threads_2.pasm
main 10

After the change - case 3 now prints thread 1.

You mentioned in the previous email that you were
interested in knowing if this was Windows IO or the
Cygwin variant.  I would love to give you that
information, but color me clueless.
> 
> leo
> 
Joshua Gatcomb
a.k.a. Limbic~Region



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Reply via email to