Messages in this thread | | | Date | Sun, 20 Nov 2005 12:43:43 +0200 | From | Muli Ben-Yehuda <> | Subject | Re: 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/
| |