Hello,
On Mon, 12 Jan 2009, swamynathan wrote:
> eg if i press 'a' , 'a' is passed to the function
> if i press 'a','d' then the function should be called simultaneously
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
What does this mean?
> i tried using threads it dint seem to work
Perhaps you should have multiple threads already running and waiting
for input from a despatcher. The despatcher takes the key pressed and
sends it to any waiting thread and then returns to waiting for a key
press. How effective this will be will depend on how much time
each thread needs to complete processing.
Regards,
Kapil.
--
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc