Valhalla Legends Archive

Programming => General Programming => Java Programming => Topic started by: Joe[x86] on November 08, 2005, 04:13 PM

Title: Not waiting for a procedure to finish?
Post by: Joe[x86] on November 08, 2005, 04:13 PM
Basically, I want to be running two procedures at once (both voids). More specifically, I want to be able to both loop through recieved packets, and loop through console input (to send text).

How can this be done? Is this even possible (I've never seen it done before)?
Title: Re: Not waiting for a procedure to finish?
Post by: dxoigmn on November 08, 2005, 05:00 PM
Threads (http://java.sun.com/docs/books/tutorial/essential/threads/)?
Title: Re: Not waiting for a procedure to finish?
Post by: Joe[x86] on November 08, 2005, 05:44 PM
Thanks!