Search:

Type: Posts; User: dlorde

Search: Search took 0.24 seconds.

  1. Re: Immutable Objects in multi threaded application

    References are passed by value, so inside the method you'll get a local reference to the original (immutable) object. When the external volatile reference is updated, the reference in the method...
  2. Re: Immutable Objects in multi threaded application

    Not entirely clear what you're asking, but if volatile reference is updated, all threads will see the new value next time they access it (synchronization occurs on access). If the threads have...
Results 1 to 2 of 2