Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 1998 08:29:47 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Dave Bodenstab <imdave@mcs.net>, y-carden@uniandes.edu.co
Cc:        questions@FreeBSD.ORG
Subject:   Re: Philosophers
Message-ID:  <19980217082947.41903@freebie.lemis.com>
In-Reply-To: <199802161847.MAA05044@base486.home.org>; from Dave Bodenstab on Mon, Feb 16, 1998 at 12:47:08PM -0600
References:  <199802161847.MAA05044@base486.home.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 February 1998 at 12:47:08 -0600, Dave Bodenstab wrote:
>
>> From: Yonny Cardenas Baron <y-carden@uniandes.edu.co>
>>
>> I  need a  program in c, whith the solution the Dijkstra's problem
>> philosophers eating, using semaphores in UNIX, (FreeBSD).
>
> Here it is from an *ancient* usenet posting.  Just compile with:
>
>   cc -o phil phil.c -lcurses

Fascinating.  This program seems to use several seconds CPU time (on a
K6/233) per move.  I wonder how fast it was on the hardware of 20
years ago.

Greg


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



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