Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralHiding a property in the Property Window Pin
Nick Seng21-Jul-03 20:59
Nick Seng21-Jul-03 20:59 
GeneralRe: Hiding a property in the Property Window Pin
J. Dunlap21-Jul-03 21:15
J. Dunlap21-Jul-03 21:15 
GeneralRe: Hiding a property in the Property Window Pin
Nick Seng21-Jul-03 21:27
Nick Seng21-Jul-03 21:27 
GeneralMultithreading Pin
Alberto Bencivenni21-Jul-03 20:53
Alberto Bencivenni21-Jul-03 20:53 
GeneralRe: Multithreading Pin
Julian Bucknall [MSFT]22-Jul-03 7:04
Julian Bucknall [MSFT]22-Jul-03 7:04 
GeneralRe: Multithreading Pin
Alberto Bencivenni22-Jul-03 21:24
Alberto Bencivenni22-Jul-03 21:24 
GeneralRe: Multithreading Pin
Julian Bucknall [MSFT]23-Jul-03 13:56
Julian Bucknall [MSFT]23-Jul-03 13:56 
GeneralRe: Multithreading Pin
Joe Woodbury22-Jul-03 8:28
professionalJoe Woodbury22-Jul-03 8:28 
I seem to recall that the optimal number of active worker threads per CPU is two. If those threads will be waiting, you will, of course, need a larger thread pool.

To scale correctly, you should detect the number of CPUs and act accordingly, but unless you are doing something very specialized (like assigning a thread to a CPU) I'd suggest using a single pool.

Of course, you'd want to empirically test any proposed solution to the extent possible. (I can't actually emphasize this enough. I've been surprised more than once by actual performance in heavily multi-threaded apps.)
GeneralRe: Multithreading Pin
Arun Bhalla22-Jul-03 12:40
Arun Bhalla22-Jul-03 12:40 
GeneralRe: Multithreading Pin
Alberto Bencivenni22-Jul-03 21:39
Alberto Bencivenni22-Jul-03 21:39 
GeneralRe: Multithreading Pin
Joe Woodbury23-Jul-03 6:27
professionalJoe Woodbury23-Jul-03 6:27 
QuestionHow to read data in excel file Pin
Hoang Dung21-Jul-03 18:38
Hoang Dung21-Jul-03 18:38 
AnswerRe: How to read data in excel file Pin
Mazdak21-Jul-03 20:01
Mazdak21-Jul-03 20:01 
AnswerRe: How to read data in excel file Pin
Kannan Kalyanaraman21-Jul-03 20:14
Kannan Kalyanaraman21-Jul-03 20:14 
GeneralRe: How to read data in excel file Pin
Ista24-Jul-03 5:57
Ista24-Jul-03 5:57 
AnswerRe: How to read data in excel file Pin
Ista24-Jul-03 6:48
Ista24-Jul-03 6:48 
QuestionHow do i find a type of the object Pin
Ista21-Jul-03 17:03
Ista21-Jul-03 17:03 
AnswerRe: How do i find a type of the object Pin
Rocky Moore21-Jul-03 17:12
Rocky Moore21-Jul-03 17:12 
AnswerRe: How do i find a type of the object Pin
Meysam Mahfouzi22-Jul-03 0:41
Meysam Mahfouzi22-Jul-03 0:41 
AnswerRe: How do i find a type of the object Pin
LongRange.Shooter22-Jul-03 5:02
LongRange.Shooter22-Jul-03 5:02 
GeneralRe: How do i find a type of the object Pin
Ista22-Jul-03 8:16
Ista22-Jul-03 8:16 
GeneralRe: How do i find a type of the object Pin
LongRange.Shooter23-Jul-03 5:07
LongRange.Shooter23-Jul-03 5:07 
GeneralRe: How do i find a type of the object Pin
Ista24-Jul-03 6:05
Ista24-Jul-03 6:05 
GeneralBinding a domainUpDown control Pin
Ista21-Jul-03 17:02
Ista21-Jul-03 17:02 
GeneralADO.NET Connections and Connection Pools Pin
albean21-Jul-03 16:25
albean21-Jul-03 16:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.