Jump to content
  • Advertisement
Sign in to follow this  
Recruit0

Multi-threading

This topic is 3512 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to create a thread in Java. What am I doing wrong? I've been hacking at it for hours and this is as far as I could get. EDIT: I'm not getting errors or output but the program stops working. Nvm, it was because I was creating the thread at the beginning of the constructor instead at the end (Null Pointer Exceptions). [Edited by - Recruit0 on April 30, 2009 12:16:25 AM]

Share this post


Link to post
Share on other sites
Advertisement
You'd get help faster if you could first post a simplified subset of your code that exhibit the undesired behavior. Couldn't you at least specify where the exception occurs?

Share this post


Link to post
Share on other sites
I fixed the error but the program locks up/stops working. I don't know how this works so this is probably as much as I can cut out without leaving out information.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!