|
From: Luigi B. <lui...@gm...> - 2010-09-14 15:27:01
|
On Fri, 2010-09-10 at 10:25 -0500, Kakhkhor Abdijalilov wrote: > Thanks a lot. That is encouraging. > > What if the instance() method is synchronized with mutex, could it > solve static singleton problem? I'm not sure it's a synchronization problem. Are you? (Also, we'd have the brand new problem of choosing a threading library.) Luigi -- Testing can never demonstrate the absence of errors in software, only their presence. -- W.E. Dijkstra |