Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 13:06:28 -0800 (PST)
From:      Tom <tom@uniserve.com>
To:        Gustavo Vieira Goncalves Coelho Rios <grios@netshell.vicosa.com.br>
Cc:        stable@FreeBSD.ORG
Subject:   Re: semaphores
Message-ID:  <Pine.BSF.4.02A.9901251304350.6161-100000@shell.uniserve.ca>
In-Reply-To: <Pine.LNX.4.05.9901251756540.1250-100000@netshell.vicosa.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 25 Jan 1999, Gustavo Vieira Goncalves Coelho Rios wrote:

> i am trying to implement a readers/writers solution using concurrency
> control.
> But the problem is: When i used POSIX.1b to get concurrency control
> working, i realized that FreeBSd simply does not support it.
> there is not a semaphore.h header in any fs!!!
> Another problem: As FreeBSD does not support POSIX.1b i decided to use
> SYSVSEM, but my kernel does not support it.

  Why don't you build a kernel with SYSVSEM then?

> It's impossible, if there is no way to use semphores in FreeBSD (the only
> two way i know don't work) in the scenario i am. So there is two options:
> a) None program in my system is using semaphores, any server, etc.

  This is true.  Concurrency control can be done other ways.  No system
utilities use it.

> b) there is a thirdy way to get semaphores which i don't know, if so, can
> anybody explain me.

  Lots of different ways, including SysV semaphores.

> ---
> I use UNIX because reboots are for hardware upgrades.
> You use windowze because the guy on TV told you to ...
> ----- Gustavo Rios -----

Tom


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9901251304350.6161-100000>