Hey, I was just wondering whether it is possible to do multiple tasks in a console application at the same time. Like lets say if a program reads user's input and displays output at the same time, can the program carry on displaying output while it waits for user's input at the same time?

Just wondering if this can be done using the core language itself and if you could name this mechanism as well please. Thanks.

Edited 5 Years Ago by SoulReaper1680: n/a

Well, i guess you can use threads. But you might have to make sure you make them synchronized. i have never tried doing it, but i guess you can, using threads.

@daviddoria

haha, speaking of thread synchronization, we both posted at almost the same time. Oops, sorry about that.

Thanks for the replies :). I don't really want to use them myself, was asking out of curiosity :P
Are they a common thing to use in large programs?

This question has already been answered. Start a new discussion instead.