IO on windows

D

Dominik Werder

Hello!

One can abort my program while it is busy by "q<enter>".
This works with linux, I'm using a separate thread to do the $stdin.gets
stuff.
On windows however the $stdin.gets call in the thread blocks the whole
process. I've not found any other way to solve this.

How do you do it?

Thanks!
Dominik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,662
Latest member
sxarexu

Latest Threads

Top