lkml.org 
[lkml]   [2005]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Inconsistent timing results of multithreaded program on an SMP machine.
On Sun, Nov 20, 2005 at 09:39:00PM +1100, Con Kolivas wrote:
> On Sun, 20 Nov 2005 21:35, Muli Ben-Yehuda wrote:

> If it was instant it shouldn't matter. I'm aware of that in theory, but there
> have certainly been reports of pthread_join taking quite a while happening in
> a sort of lazy/sloppy way. I don't know why this is the case but I wondered
> if it was showing up here.

I see, I didn't realize pthread_join might not return immediately even
if the thread already finished (I would actually consider that a
bug...). Marcel, could you please check?

Cheers,
Muli
--
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-20 11:46    [W:1.880 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site