I'm writing a two thread application.
Requests for commands and processes them.
Periodically, for example every 10 seconds, shows all items in the list.
How to design the application in such way that it doesn't get interrupted when the user is typing a command, or maybe there is a different approach to this kind of application?
Any help welcome!