Also, gcConcurrent does not have much to do with svr or wks CLR. It just controls whether or not GC should happen on a concurrent thread
Pradeep http://www.tapadiya.net/pradeep ----- Original Message ----- From: "Willy Denoyette" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 6:29 AM Subject: Re: [ADVANCED-DOTNET] gcConcurrent config setting and CLR flavour > Nick, > > You have to explicitly load the CLR runtime version "svr vs wks" in an hosting process, by calling CorBindToRuntimeEx, > just like the asp.net worker process does, Winforms and console type applications always load the Wks version. > Note when calling CorBindToRuntimeEx to load the server version on a single CPU box will silently load the workstation > version. > > Willy. > > ----- Original Message ----- > From: "Nick Wienholt" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 30, 2002 8:38 AM > Subject: [ADVANCED-DOTNET] gcConcurrent config setting and CLR flavour > > > > I was under the impression that the gcConcurrent element in the runtime > > section of the configuration file controlled the CLR flavour (workstation or > > server) that was loaded. I ran some quick tests on a dual processor box > > using a simple winforms app, and found that the workstation flavour was > > loaded each time, regardless of the enable attribute. The config file > > content are: > > > > <configuration> > > <runtime> > > <gcConcurrent enabled="false" /> > > </runtime> > > </configuration> > > > > Any ideas? Thanks. > > > > Nick > > > > You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or > > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.