I got the code for a non-blocking read from Re^3: Non Blocking input on Win32 platforms. My original idea was ultimately to replace the usage of STDIN CLI with a GUI thread passing messages to a boss/worker model, since I don't want to surrender execution control to the GUI.

In reply to Re^2: threads on Windows by kennethk
in thread threads on Windows by kennethk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":