Re: Thread specific singleton

2006-06-12 Thread jhnsmth
Gabriele Farina wrote: > Hi, > > I'm tring to implement a Singleton object that should be specific for > every thread who create it, not global. > I tried a solution that seems to work, but I have a very poor knowledge > of concurrent programming, so I'd like someone to help me find some > problem

Re: Thread specific singleton

2006-06-11 Thread Aahz
In article <[EMAIL PROTECTED]>, Gabriele Farina <[EMAIL PROTECTED]> wrote: > >I'm tring to implement a Singleton object that should be specific for >every thread who create it, not global. >I tried a solution that seems to work, but I have a very poor knowledge >of concurrent programming, so I'd