Closed ccorn90 closed 11 years ago
Check out these modules @ccorn90:
http://docs.python.org/3.1/library/queue.html#module-queue http://docs.python.org/3.1/library/threading.html
I also have some rendering stuff at the top of inputEngine that you can copy.
Okay, I like the locking queue as a way to pass things out to . The inputEngine.py file is looking like it has some good stuff in it! Let me know when you're ready to wrap it in a manager object - what it's sounding like is a thread dedicated to input processing will be really good.
I'll also make sure that curses is threadsafe. THAT would be too bad.
Goals: