comp.lang.ada
 help / color / mirror / Atom feed
From: cjames@stout.entertain.com (Colin James III)
Subject: Re: OCCAM programming probs
Date: 8 Feb 1995 13:29:33 -0000
Date: 1995-02-08T13:29:33+00:00	[thread overview]
Message-ID: <3hagvt$qf@stout.entertain.com> (raw)
In-Reply-To: 792175283snz@joino.demon.co.uk

In article <792175283snz@joino.demon.co.uk>,
huey <huey@joino.demon.co.uk> wrote:
>Can any one help with a small program that operates numerous functions 
>CONCURRENTLY using the SPOOL technique ?
>  ...
>[a] buffer acts as a queue.
>
>The only functions reqd are to Append, Remove or reorder the queue.
>
>email to Dan@joino.demon.co.uk
>-- 
>huey

Please see:
 _Reusable_software_The_Base_object-oriented_component_libraries
by Bertrand Meyer, 1994, Prentice Hall UK.

Of particular interest to your question is pages 340/7 in the 
dispenser class section which includes CLASS _QUEUE_, _ARRAYED_QUEUE_, 
_LINKED_QUEUE_, and _BOUNDED_QUEUE_.  This is a much clearer implementation
of the algorithm (in Eiffel) than anything else I've seen, including Ada 
textbooks and Booch's components in Ada83 (or in C), which usually suffer 
from bounded/unbounded / constrained/unconstrained generic considerations 
which are not issues in Eiffel 3 *ever*.

cjames@stout.entertain.com

(I'm a six time winner:  Continuing Episcopalian, Old Line Republican, 
 Eiffel and BON aficionado, PC clone user, and not a professor.)
 



  reply	other threads:[~1995-02-08 13:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-07 16:41 OCCAM programming probs huey
1995-02-08 13:29 ` Colin James III [this message]
1995-02-09 20:04 ` John Townsend
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox