Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 08:26:23 +0100
From:      Bruce Simpson <bms@incunabulum.net>
To:        Vlad Galu <dudu@dudu.ro>
Cc:        freebsd-stable@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: Unnamed POSIX shared semaphores
Message-ID:  <4A2E0E9F.8050708@incunabulum.net>
In-Reply-To: <ad79ad6b0906082336s7253da7ey691cd46f00b684a0@mail.gmail.com>
References:  <ad79ad6b0906010833y20042080td1ebe0d3bfffbdc5@mail.gmail.com> <20090601161903.GA40377@stack.nl> <4A24457C.6060100@FreeBSD.org> <200906020842.42330.jhb@freebsd.org> <h0j1qa$umk$1@ger.gmane.org> <ad79ad6b0906082336s7253da7ey691cd46f00b684a0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Vlad Galu wrote:
> ...
> Thanks, Ivan. I'll take a better look at this after our first release,
> which is due in a couple of weeks. Right now the team efforts aren't
> focused on portability, so it's a low priority issue, but something
> we'd definitely like to have in the future.
>   

I stand corrected. Having read around this, I don't see how 
process-shared sems could work at all, although I haven't actually tried 
running process-shared sem code.

POSIX semaphores were however horribly broken in kernel prior to 7.2.
The fix was essentially one liner. We got a very good test case from a 
chap in a GNATS PR.

cheers
BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2E0E9F.8050708>