Interesting Thread.sleep error in Mono-D

Marco Leise Marco.Leise at gmx.de
Tue Aug 28 17:15:47 PDT 2012


Am Fri, 24 Aug 2012 13:00:08 +0200
schrieb "Minas Mina" <minas_mina1990 at hotmail.co.uk>:

> On Ubuntu 12.04, dmd 2.060
> 
> This works like you wanted - and no exception at the end.
> 
> 		writeln(i);
> 		stdout.flush(); // ADDED THIS

I use writeln of stdout, which has an implicit flush():

		stdout.writeln(i);

-- 
Marco



More information about the Digitalmars-d-ide mailing list