Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: deleting items from listbox with DEL Pin
Luc Pattyn19-Aug-07 10:59
sitebuilderLuc Pattyn19-Aug-07 10:59 
QuestionMOVED TO ASP.NET FORUM [modified] Pin
Malcolm Smart19-Aug-07 10:52
Malcolm Smart19-Aug-07 10:52 
AnswerRe: Generate Doc then Open it Client Side Pin
Judah Gabriel Himango19-Aug-07 11:29
sponsorJudah Gabriel Himango19-Aug-07 11:29 
QuestionNumber of processors Pin
Jay Gatsby19-Aug-07 10:29
Jay Gatsby19-Aug-07 10:29 
AnswerRe: Number of processors Pin
originSH19-Aug-07 10:48
originSH19-Aug-07 10:48 
GeneralRe: Number of processors Pin
originSH20-Aug-07 0:20
originSH20-Aug-07 0:20 
AnswerRe: Number of processors Pin
Mustafa Ismail Mustafa19-Aug-07 10:52
Mustafa Ismail Mustafa19-Aug-07 10:52 
AnswerRe: Number of processors Pin
Luc Pattyn19-Aug-07 10:56
sitebuilderLuc Pattyn19-Aug-07 10:56 
Hi,

that is a complex question, and I don't have the complete answer.

What do you call a processor (there is some disagreement):
- there is hyperthreading (basically 2 or more processor states sharing all other
processor resources: functional units, caches, bus interface, ...), which you
can disable through BIOS
- there is multi-processing on a chip
- there is multi-chip packages
- and finally visible multi-processing: more than one IC package

And obviously these can be combined.

That's the technical view. Then there is the matter of software licensing,
which exists in many forms, such as per processor, per system, per seat.
There is room for debate!

Environment.ProcessorCount "Gets the number of processors on the current machine"
whatever that means. I expect/hope it to mean the largest number you can obtain
taking into account all the forementioned possibilities.

Also Process.ProcessorAffinity should have the value 2^n - 1 when
n=Environment.ProcessorCount

Hope this helps


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Number of processors Pin
Jay Gatsby19-Aug-07 13:43
Jay Gatsby19-Aug-07 13:43 
AnswerRe: Number of processors Pin
Hessam Jalali19-Aug-07 11:04
Hessam Jalali19-Aug-07 11:04 
GeneralRe: Number of processors Pin
Jay Gatsby19-Aug-07 13:40
Jay Gatsby19-Aug-07 13:40 
QuestionUrgent help requested Pin
T.D.Prasad19-Aug-07 9:57
T.D.Prasad19-Aug-07 9:57 
AnswerRe: Urgent help requested Pin
Judah Gabriel Himango19-Aug-07 11:31
sponsorJudah Gabriel Himango19-Aug-07 11:31 
QuestionChanging the style of a combobox Pin
WBurgMo19-Aug-07 9:25
WBurgMo19-Aug-07 9:25 
AnswerRe: Changing the style of a combobox Pin
Mustafa Ismail Mustafa19-Aug-07 10:11
Mustafa Ismail Mustafa19-Aug-07 10:11 
QuestionUnable to attach to application 'Web.Dev.WebServer.Exe'. Pin
T4AMD19-Aug-07 9:04
T4AMD19-Aug-07 9:04 
Questionconfiguration file Pin
MarioMARTIN19-Aug-07 8:44
MarioMARTIN19-Aug-07 8:44 
AnswerRe: configuration file Pin
Christian Graus19-Aug-07 11:28
protectorChristian Graus19-Aug-07 11:28 
GeneralRe: configuration file Pin
MarioMARTIN19-Aug-07 20:00
MarioMARTIN19-Aug-07 20:00 
GeneralRe: configuration file Pin
MarioMARTIN19-Aug-07 20:26
MarioMARTIN19-Aug-07 20:26 
GeneralRe: configuration file Pin
MarioMARTIN19-Aug-07 22:02
MarioMARTIN19-Aug-07 22:02 
Questionparallel programming and multi threading in the Apllication layer Pin
sianatia19-Aug-07 8:11
sianatia19-Aug-07 8:11 
QuestionChange language Pin
Zhendalf19-Aug-07 5:14
Zhendalf19-Aug-07 5:14 
AnswerRe: Change language Pin
Giorgi Dalakishvili19-Aug-07 7:07
mentorGiorgi Dalakishvili19-Aug-07 7:07 
AnswerRe: Change language [modified] Pin
Hessam Jalali19-Aug-07 7:25
Hessam Jalali19-Aug-07 7: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.