问题 I have an event handling code that reads Linux's /dev/input/ for my touchpad and prints result on the basis of which button is pressed/released. Although. as of now my code is waiting on a button press while running on terminal. My next step is to run this event handling thread along with another thread (not event based). If I continue handling event by reading input at terminal, I will not be able to execute other threads as a part of my main() as main() keeps on waiting for the button press