Output to console from DerivedThread class strange

kraybourne stdin at kraybourne.com
Thu Feb 9 10:47:13 PST 2012


I know neither Windows or D very well, but I've noticed in D on Windows, 
output seems to be held back sometimes until the app terminates.

Maybe try this:

On 2/7/12 11:28 PM, Oliver Puerto wrote:
> 	void run() {
> 		writeln("Derived thread running.");
		stdout.flush(); // <-- added
> 	}

It at least helped me in similar "weird" situations, although I'm not 
sure it helps you or explains anything.


More information about the Digitalmars-d mailing list