From owner-freebsd-stable Mon Jan 25 13:06:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10885 for freebsd-stable-outgoing; Mon, 25 Jan 1999 13:06:55 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA10880 for ; Mon, 25 Jan 1999 13:06:54 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 104tDL-0001fv-00; Mon, 25 Jan 1999 13:06:31 -0800 Date: Mon, 25 Jan 1999 13:06:28 -0800 (PST) From: Tom X-Sender: tom@shell.uniserve.ca To: Gustavo Vieira Goncalves Coelho Rios cc: stable@FreeBSD.ORG Subject: Re: semaphores In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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