Paul Lutus wrote:
> By not using threads.
In this problem, one should consider the output generated by the threads
is not context-sensitive (or command-sensitive). It is a monitoring app,
I do need to be informed of any event in realtime (by "outputting" to
the console) while not messing up my input (or messing it up the least
possible ;) )
I hope I made myself a little clearer.
But I suppose you're right. I'll try building of a single-threaded-IO
based architecture. Thinking of it, maybe callback procedures may
help...
--
Posted via http://www.ruby-forum.com/.