471,325 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

Threading and Dell's dual-core

Don't know whether to post this on a hardware or software board, so
here goes:

I wrote a c# chess program which searches for checkmate. Now, it's
single-threaded. But I was thinking. I just got a Dell XPS dual-core
machine. If I modify the chess program to use threading, will it take
advantage of the dual-core machine? If so, is there any special code
(besides .Net threading) that I have to implement? Thanks in advance -
Bruce

Dec 9 '05 #1
2 2354
Dear Bruce,
There are many MultiThreading Models. Windows NT works
on One to One Model , i.e. 1 User thread is mapped to 1 Kernel Thread.
This model allows Multiple Threads to run in parallel on
Multiprocessors.

Regards,
Naveed Ahmad Bajwa
http://bajoo.blogspot.com/

Dec 9 '05 #2
Hi,
since you r developing in .net, so if you look at blogs.msdn.com, some
bloggers there have been writing about how the .net 2.0 takes advantage of
dual-core machines. I think runtime does a lot of work for us to
automatically take advantage of dual-core. Searching for dual-core related
stuff on specifically blogs.msdn.com should be of help.

Ab.
http://joehacker.blogspot.com.

<br*************@glic.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Don't know whether to post this on a hardware or software board, so
here goes:

I wrote a c# chess program which searches for checkmate. Now, it's
single-threaded. But I was thinking. I just got a Dell XPS dual-core
machine. If I modify the chess program to use threading, will it take
advantage of the dual-core machine? If so, is there any special code
(besides .Net threading) that I have to implement? Thanks in advance -
Bruce

Dec 9 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Tomer Ben-David | last post: by
5 posts views Thread by John Dalberg | last post: by
8 posts views Thread by Rob T | last post: by
reply views Thread by Mike Caputo | last post: by
1 post views Thread by =?Utf-8?B?RC4gUGF5bmU=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.