FIX: After you use the ThreadPool.SetMinThreads method in the Microsoft .NET Framework 3.5, threads maintained by the thread pool do not work as expected

Trabaje en cualquier lugar desde cualquier dispositivo con Microsoft 365

Actualice a Microsoft 365 para trabajar en cualquier lugar con las características y las actualizaciones más recientes.

Actualizar ahora

Symptoms

You use the ThreadPool.SetMinThreads method in the Microsoft .NET Framework 3.5 to increase the minimum number of the idle asynchronous I/O threads that are maintained by the thread pool. However, these idle asynchronous I/O threads do not work as expected.

For example, consider the following scenario:

  • You run the ThreadPool.SetMinThreads method to increase the minimum number of the idle asynchronous I/O threads that are maintained by the thread pool.

  • You run a service that depends on multiple I/O threads for throughput.

In this scenario, instead of using idle asynchronous I/O threads from the thread pool, common language runtime (CLR) still tries to create more threads. Therefore, the service does not perform as you want.

Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have the Microsoft .NET Framework 3.5 Service Pack 1 (SP1) installed to apply this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

x86-based versions of Windows Server 2000, Windows Server 2003 and Windows XP

File name

File version

File size

Date

Time

Platform

Mscordacwks.dll

2.0.50727.4417

989,016

02-Nov-2009

11:38

x86

Mscorlib.dll

2.0.50727.4417

4,550,656

02-Nov-2009

11:38

x86

Mscorwks.dll

2.0.50727.4417

5,818,688

02-Nov-2009

11:38

x86

Sos.dll

2.0.50727.4417

388,920

02-Nov-2009

11:38

x86


x64-based versions of Windows Server 2000, Windows Server 2003 and Windows XP

File name

File version

File size

Date

Time

Platform

Mscordacwks.dll

2.0.50727.4417

1,758,552

01-Nov-2009

23:44

x64

Mscorlib.dll

2.0.50727.4417

4,567,040

01-Nov-2009

23:38

x64

Mscorwks.dll

2.0.50727.4417

10,061,136

01-Nov-2009

23:42

x64

Sos.dll

2.0.50727.4417

485,192

01-Nov-2009

23:40

x64


Itanium-based versions of Windows Server 2000, Windows Server 2003 and Windows XP

File name

File version

File size

Date

Time

Platform

Mscordacwks.dll

2.0.50727.4417

3,085,128

02-Nov-2009

09:44

IA-64

Mscorlib.dll

2.0.50727.4417

4,009,984

02-Nov-2009

09:42

IA-64

Mscorwks.dll

2.0.50727.4417

20,173,120

02-Nov-2009

09:38

IA-64

Sos.dll

2.0.50727.4417

872,760

02-Nov-2009

09:41

IA-64


x86-based versions of Windows Vista SP2 and Windows Server 2008 SP2

File name

File version

File size

Date

Time

Mscorlib.dll

2.0.50727.4419

4,550,656

06-Nov-2009

07:54

Mscordacwks.dll

2.0.50727.4419

989,016

06-Nov-2009

07:54

Mscorwks.dll

2.0.50727.4419

5,818,704

06-Nov-2009

07:54


x64-based versions of Windows Vista SP2 and Windows Server 2008 SP2

File name

File version

File size

Date

Time

Mscorlib.dll

2.0.50727.4419

4,567,040

06-Nov-2009

07:53

Mscordacwks.dll

2.0.50727.4419

1,758,552

06-Nov-2009

07:53

Mscorwks.dll

2.0.50727.4419

10,061,136

06-Nov-2009

07:53


Itanium-based versions of Windows Server 2008 SP2

File name

File version

File size

Date

Time

Mscorlib.dll

2.0.50727.4419

4,567,040

06-Nov-2009

07:53

Mscordacwks.dll

2.0.50727.4419

1,758,552

06-Nov-2009

07:53

Mscorwks.dll

2.0.50727.4419

10,061,136

06-Nov-2009

07:53


x86-based versions of Windows 7

File name

File version

File size

Date

Time

Mscorlib.dll

2.0.50727.4419

4,550,656

06-Nov-2009

07:53

Mscordacwks.dll

2.0.50727.4419

995,672

06-Nov-2009

07:53

Mscorwks.dll

2.0.50727.4419

5,817,152

06-Nov-2009

07:53

Sos.dll

2.0.50727.4417

388,936

06-Nov-2009

07:53


x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Mscorlib.dll

2.0.50727.4936

4,567,040

07-Nov-2009

00:02

Mscordacwks.dll

2.0.50727.4936

1,757,512

07-Nov-2009

00:02

Mscorwks.dll

2.0.50727.4936

10,057,536

07-Nov-2009

00:02

Sos.dll

2.0.50727.4936

485,176

07-Nov-2009

00:02


Itanium-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Mscorlib.dll

2.0.50727.4936

4,009,984

07-Nov-2009

00:03

Mscordacwks.dll

2.0.50727.4936

3,086,168

07-Nov-2009

00:03

Mscorwks.dll

2.0.50727.4936

20,165,968

07-Nov-2009

00:03

Sos.dll

2.0.50727.4936

872,760

07-Nov-2009

00:03

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about the ThreadPool.SetMinThreads method, visit the following Microsoft Web site:

http://msdn.microsoft.com/en-us/library/system.threading.threadpool.setminthreads.aspx

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

¿Necesita más ayuda?

Ampliar sus conocimientos
Explorar los cursos
Obtener nuevas características primero
Unirse a Microsoft Insider

¿Le ha sido útil esta información?

¡Gracias por sus comentarios!

Gracias por sus comentarios. Quizá le interese ponerse en contacto con uno de nuestros agentes de soporte de Office.

×