Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    2,069

    Re: synchronization

    Is there any more code provided? It is likely that there should be some updating code that is executed on the animator thread but the author chose not to include at this point.

    Accessing one...
  2. Replies
    6
    Views
    2,069

    Re: synchronization

    even though isPaused is atomic, notify() isn't, and the combination of assigning to the boolean and notify() definately isn't atomic.

    Are you familiar with the notion of a mutex? Synchronization...
Results 1 to 2 of 2