[lkml]   [2003]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Semaphores and threads anomaly and bug?
On Tuesday 04 November 2003 17:29, Linus Torvalds wrote:
> On Tue, 4 Nov 2003, John M Collins wrote:
> > I know this isn't defined anywhere but the seems to be an ambiguity and
> > discrepancy between versions of Unix and Linux over threads and
> > semaphores.
> >
> > Do the "SEM_UNDO"s get applied when a thread terminates or when the
> > "whole thing" terminates?
> It's entirely up to you. That's what CLONE_SYSVSEM is supposed to
> determine.
> However, CLONE_SYSVSEM is fairly recent, and I think you will need to use
> the new threading libraries to see it.


Could I possibly draw your attention to the other point I made about the
updating of "sempid" which does seem to be a mistake to me?

John Collins Xi Software Ltd
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.031 / U:3.676 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site