Phil, I really like the changes you made, really smart way to make it more asynchronous. May I use it in my project?
Thanks.
Search found 3 matches
- 27 Jan 2017 10:23
- Forum: DOS Batch Forum
- Topic: proof of concept: alternate asynchronous non-blocking input
- Replies: 7
- Views: 9874
- 27 Jan 2017 10:02
- Forum: DOS Batch Forum
- Topic: proof of concept: alternate asynchronous non-blocking input
- Replies: 7
- Views: 9874
Re: proof of concept: alternate asynchronous non-blocking input
The input loop can read the current title and append it's message with an agreed upon delimiter. When the main loop reads the title, it stores the whole thing in a variable and sets it to blank. it then takes input from this variable until it is empty, at which point it reads from the title again. O...
- 26 Jan 2017 13:00
- Forum: DOS Batch Forum
- Topic: proof of concept: alternate asynchronous non-blocking input
- Replies: 7
- Views: 9874
proof of concept: alternate asynchronous non-blocking input
I have been trying for a long time to come up with a way to get non-blocking input without writing to a file, just because well, I succeeded, so I thought I would share. Here is a (relatively simple) proof of concept which starts two processes, one which handles main logic and output, and one which ...