Hung Dang <hungp...@gmail.com> writes: > Greg wrote: >> Is this normal? I thought even under a uniprocessor machine the threads were >> to time-slice like on a multicore. > It is depend on your application and how you write your code. For example we > can have a good speed up for dense matrix multiplication, however, for some > application such as sparse matrix calculation using multiple threads may even > slow down your application.
Perhaps, but my first thought upon reading this mail was, like Nikos, "no, the code has bugs". Sorry, Greg, but "select isn't broken": http://www.codinghorror.com/blog/archives/001079.html -- ...jsled http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo $...@${b}
pgpZpIi4ZdG7B.pgp
Description: PGP signature