Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet clr > july 2004 > threads for july 15 - 21, 2004

Filter by week: 1 2 3 4 5

how to define this?
Posted by ZhangZQ at 7/21/2004 3:53:04 PM
if there is a C function in a DLL(My.dll) has this declaration, struct MyStruct { int a; int b; }; int MyFunc(int param1, MyStruct** param2); how to define this in C# ? if there is another C function like this int MyFunc1(int param1, char** szRtn);, I can define it as [D...more >>

Reflection to get objects that implement interface / or in namespa
Posted by Dinesh at 7/21/2004 10:18:01 AM
Hello, I wanted to know if it is possible to use reflection to get a list of all classes that implement a given interface. If not, is it possible to get a list of all classes that exist in a given namespace? Thanks, Dinesh...more >>

How to specify the initial memory size for a application?
Posted by Lei Jiang at 7/21/2004 9:58:30 AM
I have a program that cost a lot of memory. During the load of the program, more and more memory is being allocated. I'd like to know if I specify a large initial memory size for the application, would its load speed be increased? If so, how can I specify that? Thanks! ...more >>

assembler code
Posted by menkaur at 7/20/2004 9:26:02 PM
how to write .net code using masm?...more >>

clr vs pe
Posted by menkaur at 7/20/2004 9:25:01 PM
what is the difference between clr code and pe-code ( i mean, low level - file format, memory placement etc)?...more >>

Code size effects on application performance
Posted by Josh Buedel at 7/20/2004 4:17:26 PM
Hello, I am searching for information on the performance impact/implications of using large assemblies (>1MG). Is an assembly loaded fully into memory? Or are the classes loaded as they are needed? As far as execution time, you take a one time hit at application load, correct? And even s...more >>

Logical threads vs. physical threads
Posted by bjoseluisb NO[at]SPAM hotmail.com at 7/20/2004 3:40:12 AM
Hi all, I'm using ThreadPool.QueueUserWorkItem to handle work requests from a Windows Service. I've been using the performance monitor to trace the number of physical threads and the number of logical threads in the LocksAndThreads counters. I'm seeing 28 physical threads, but only 1 thread a...more >>

Will 2.0 of the clr have support for covariant returns?
Posted by Hasani (remove nospam from address) at 7/19/2004 9:38:31 PM
Will 2.0 or some other future version of the clr have support for covariant returns? ...more >>



native assemblies
Posted by Xavi Sam at 7/19/2004 12:04:41 PM
Hi When a managed application is executed by the CLR, the managed assemblies are translated to native assemblies. This native assemblies are storaged in some subdirectory in my pc or simple lives in memory? Can I set the time of life to native assemblies? Thanks in adavence Javier ...more >>

String testing
Posted by Stephen Walch at 7/19/2004 7:03:44 AM
I have always been curious. Which is faster? if (m_string.Length==0) foo(); if (m_string.Equals(string.Empty)) foo(); Thanks, -Steve ...more >>

assembly loading question
Posted by David zhu at 7/17/2004 10:26:08 AM
I'm confused that only the strong name assembly can't load successfully for different AssemblyVersion, or it works on every assembly?...more >>

ANN: .NET 2.0 Beta - CODE COVERAGE EDITION
Posted by Thomas Scheidegger [MVP] at 7/17/2004 9:44:38 AM
NET Framework Version 2.0 Redistributable Package Beta 1 (x86) CODE COVERAGE EDITION The .NET Framework Code Coverage Edition is a new mechanism that enables you to give Microsoft direct feedback on what portions of the .NET Framework and Win32 you're most reliant on. http://www.microsof...more >>

Genericity support in IL
Posted by ianm at 7/16/2004 4:17:02 PM
Please, is there anything written on genericity support in the Intermediate Language? I mean, something like the Tools Developers Guide in the SDK. Most of these documents refer to CIL v1.1 (Jun 2003), and only one of them (Metadata Unmanaged API) refers to genericity. I'm interested in this beca...more >>

Invoking complex constructors through reflection. Is there any way?
Posted by Bern McCarty at 7/16/2004 3:59:03 PM
I am using reflection to successfully find a System.Type that derives from an abstract class that my code knows about. I want to create an instance of this derived type. The type in question can be created only with a complex constructor (it has one parameter). Is there any way for me to create...more >>

Memory not being released in .net service
Posted by sdc at 7/16/2004 12:43:02 PM
I have a .Net windows service that has 4 threads. Each thread handles large amount of string data. The threads are out to sleep and awaken after 1 minute intervals. From the start of the service, the memory consumption keeps increasing to a point, where 'out of memory' exception is generated and ...more >>

Weak Reference Race Condition
Posted by Chris Mullins at 7/15/2004 3:55:13 PM
If I have an object held only by a weak reference, and I write code that looks like: dim strongRef as Object if wr.IsAlive() then strongRef=wr.Target else strongRef=new MyObject() end if There is a fairly signifigant race condition - between the "wr.IsAlive" call and the wr.Target c...more >>


DevelopmentNow Blog