|
Threads-Devel : |
From: Matt Hurd (matt.hurd_at_[hidden])
Date: 2006-03-01 17:22:39
>On Thursday 02 March 2006 08:50, Anthony Williams wrote:
<snip>
> The advantage is that you cannot statically initialize a critical section.
>
> Anthony
You can statically initialise an object via its constructor where the
constructor initialises the critcial section provided the initialisation is
race free can't you?
You always have the dependent use issue when you statically initialise mutexes
as other static things can't rely on them due to the ordering problem.
matt.