Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 39) // Methods for rendering
  2. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 40)
  3. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 41) // Creates a copy of this node
  4. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 42) // This function is thread-safe
  5. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 43) // and the ability to run this function from any thread
  6. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 44) // is why any state mutation
  7. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 45) // needs to take the stateLock.
  8. e669ab9a (gdkar 2017-11-08 22:38:05 -0500 46) //
  9. e669ab9a (gdkar 2017-11-08 22:38:05 -0500 47) // This should be a soft copy / propagate changes back to
  10. e669ab9a (gdkar 2017-11-08 22:38:05 -0500 48) // the original.
  11. e669ab9a (gdkar 2017-11-08 22:38:05 -0500 49) //
  12. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 50) // The new object will be assigned to the thread
  13. 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 51) // that createCopyForRendering is called in.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement