readln() blocks file operations on windows

Martin Drasar via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 31 12:13:19 PDT 2014


On 31.7.2014 20:37, FreeSlave via Digitalmars-d wrote:
> Note that output to stdout is not good choice to check event order,
> because it's buffered. Try to flush stdout or write to stderr. Maybe
> it's actual problem.

Hi,

this is just for illustration, although I think that writeln flushes
itself. I was checking it in a debugger after it suddenly hung my entire
program.

Martin


More information about the Digitalmars-d mailing list