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 problems in

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 like

Thread specific singleton

2006-06-09 Thread Gabriele Farina
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 problems in my implementation. Here is