Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 20:52:03 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        dillon@earth.backplane.com (Matt Dillon)
Cc:        arch@freebsd.org
Subject:   Re: Mutexes and semaphores
Message-ID:  <200010042052.NAA01516@usr06.primenet.com>
In-Reply-To: <200010041639.e94GdVR24384@earth.backplane.com> from "Matt Dillon" at Oct 04, 2000 09:39:31 AM

next in thread | previous in thread | raw e-mail | index | archive | help
>     Now, granted, the chance of the above occuring is probably close to nil.
>     From an algorithmic point of view, though, the below code (and the
>     linux code) cannot actually guarentee correct operation without also
>     make assumptions on side effects (for example, in regards to who is
>     or is not actually allowed to become the new parent and whether the
>     situation can occur with those restrictions in place).
> 
>     I would prefer not to see this sort of code in FreeBSD, even if it means
>     slowing things down a little.

I concur.  Correctness is always preferrable to speed.  Look at the
Human Genome Project supposedly being solved by a commercial company
sequencing everything, and then expecting to be able to correctly
sort it out later through pattern matching.  Reminds me of Java
garbage collection...

PS: Cc: trimmed per JDP's request; hope I didn't drop anyone, since
this sort of trimming is rightfully the job of the mailing list
software's duplicate supression code.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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