Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    4,118

    Re: Java strange thread behavior

    Glad you got it working
  2. Replies
    7
    Views
    4,118

    Re: Java strange thread behavior

    I didn't ask for all your code, I asked for an SSCCE



    I'll ask again, is Game.isActive declared as volatile? If not, please try it
  3. Replies
    7
    Views
    4,118

    Re: Java strange thread behavior

    Define doesn't work. Does the while loop get executed? Does the while loop continue indefinitely? Is the field Game.isActive declared as volatile? In situations such as this, it helps to provide an...
Results 1 to 3 of 3