fa.netbsd.tech.kern
[Top] [All Lists]

Re: SEM_VALUE_MAX too big?

Subject: Re: SEM_VALUE_MAX too big?
From: Quentin Garnier <cube@xxxxxxxxxxx>
Date: Sun, 27 Jul 2008 12:03:47 UTC
Newsgroups: fa.netbsd.tech.kern
On Sun, Jul 27, 2008 at 11:22:15AM +0200, Klaus Heinz wrote:
[...]
> At the moment, the high value prevents us from supporting
> sysconf(_SC_SEM_VALUE_MAX), assuming that we do _not_ want to have two
> different values for the same thing.
> What would we loose if we lowered the value of SEM_VALUE_MAX by half?

I don't think there is much use for a semaphore value in the range
2 billions to 4 billions.  I think we can go with lowering it and
nobody will ever notice.

-- 
Quentin Garnier - cube@xxxxxxxxxxx - cube@xxxxxxxxxx
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
<Prev in Thread] Current Thread [Next in Thread>