S

S

  • NA
  • 381
  • 97.6k

How does this work?

Jul 20 2012 11:45 AM
Hi

I might be missing something extremely obvious here but given the following:-

Public Lazy(bool isThreadSafe)

The write up for this is

true to make this instance usable concurrently by multiple threads; false to make the instance usable by only one thread at a time.  

I cannot see any logic to determine what would happen if true was set or if false was set?

Regards

Steven





Answers (3)