Le 07/03/16 14:28, Chris Pike a écrit :
> Sorry, trying to understand... in your example, if the second thread gets 
> null and calls loadGraph a second time, what problem does that cause (other 
> than loading data twice)? Asked another way, what about loadGraph is not 
> thread safe?

Well, you can easily imagine a situation where the first thread is
trying to use the graph *just* when the other thread is creating it.
Expect very weird - and non-reproductible -  results !

Reply via email to