From owner-freebsd-stable Mon Jan 25 15:18:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00477 for freebsd-stable-outgoing; Mon, 25 Jan 1999 15:18:48 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from guepardo.vicosa.com.br (guepardo.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA00466 for ; Mon, 25 Jan 1999 15:18:43 -0800 (PST) (envelope-from grios@netshell.vicosa.com.br) Received: from netshell.vicosa.com.br [200.236.148.194] by guepardo.vicosa.com.br with ESMTP (SMTPD32-4.03) id AE1F1EF2008E; Mon, 25 Jan 1999 20:28:31 +03d00 Message-ID: <36ACFB27.4B84ECFD@netshell.vicosa.com.br> Date: Mon, 25 Jan 1999 21:15:51 -0200 From: Gustavo Vieira G C Rios X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Tom CC: stable@FreeBSD.ORG Subject: Re: semaphores References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I dont wanna use SYSV, so how could i do it? If i want to use POSIX.1b semaphores, how could i do it? Since FreeBSD does not have POSIX.1b semaphores in native system (recently installed) how can i address my problem if i want to use POSIX.1b ? Which are the alternatives ? Thank you very much. Tom wrote: > > 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