On Thu, 6 Jun 2002 08:19:46 -0700, Frank Hileman
<[EMAIL PROTECTED]> wrote:
>Why do you have all this locking code? A static constructor is already
>thread-safe. From C# spec:
>
>"The static constructor for a class executes at most one time during a
>single program instantiation"

I could not find that quote in Draft 13 (9/27/2001) of the C# spec.  Are
you looking at a newer (or older) C# spec?

--
Keith

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to