Re: Few questions on threading

2004-08-18 Thread Christophe de Vienne
Christophe de Vienne wrote: CriticalSection initialise a recursive mutex. For most use it's OK, but some people may need a simple one for performances issue, and there is a third one which can report errors. What I propose is to give the type of mutex we need to the constructor, with a default t

Re: Few questions on threading

2004-08-18 Thread Christophe de Vienne
Michaël CATANZARITI wrote: Hi, Christophe de Vienne wrote: Hi, I'm currently working on the threading wrappers, mainly hidding the implementation details dependant from the thread system we use. I have a few questions : 1) In Thread::~Thread(), the join is done directly instead of using Thread::

Re: Few questions on threading

2004-08-17 Thread Michaël CATANZARITI
Hi, Christophe de Vienne wrote: Hi, I'm currently working on the threading wrappers, mainly hidding the implementation details dependant from the thread system we use. I have a few questions : 1) In Thread::~Thread(), the join is done directly instead of using Thread::join, which make code dupli

Few questions on threading

2004-08-17 Thread Christophe de Vienne
Hi, I'm currently working on the threading wrappers, mainly hidding the implementation details dependant from the thread system we use. I have a few questions : 1) In Thread::~Thread(), the join is done directly instead of using Thread::join, which make code duplication. Is there a particular re