- bits & pieces about software development HostingAbc Logo
Show all posts.
C#
1
2
3
4
5
6
7
8
9
10
if (!s_inited)
        {
            lock (s_initLock)
            {
                if (!s_inited)
                {
                    s_inited = true;
                }
            }
        }
Venemo: it is at System.Web.Configuration.HttpConfigurationSystem.UseHttpConfigurationSystem
wrote bymoszidev7/2/2008 9:15 AM
dumb, ... no wonder your name is dumb :) ... i more or less expected these type of answers :) - trust me, i know the double locking design pattern :) ... but it seems that you don't really know for what the locking is needed ;) ...
wrote bymoszidev6/26/2008 12:33 PM
this is called double locking:
http://en.wikipedia.org/wiki/Double_checked_locking_pattern
wrote bydumb6/26/2008 12:26 PM
Where did you find this in the framework?
wrote byVenemo6/24/2008 11:12 PMblog.venemo.net
add linkThe last comments:custom usb flash drives says:wow, the radio very nice, Afonso says:I'm trying to make a raid1 on the asus 500gp and I've saw your thread. But I cannot find the md.o and the raid1.o on modules.tar.gz file you attached. I also have a linux noobie question here should I put the files to make the insmod command see themmike says:Good videosmoszidev says:Venemo: it is at System.Web.Configuration.HttpConfigurationSystem.UseHttpConfigurationSystem moszidev says:dumb, ... no wonder your name is dumb :) ... i more or less expected these type of answers :) - trust me, i know the double locking design pattern :) ... but it seems that you don't really know for what the locking is needed ;) ...dumb says:this is called double locking: http://en.wikipedia.org/wiki/Double_checked_locking_patternVenemo says:Where did you find this in the framework?
Copyright (C) 2007, Molnar Szilveszter m@il me