comp.lang.ada
 help / color / mirror / Atom feed
From: "Bobby D. Bryant" <bdbryant@mail.utexas.edu>
Subject: Re: Random numbers in tasks
Date: Sun, 01 Jun 2003 20:24:00 -0600
Date: 2003-06-01T20:24:00-06:00	[thread overview]
Message-ID: <pan.2003.06.02.02.24.00.894971@mail.utexas.edu> (raw)
In-Reply-To: bbdmsr$brr$1@ulysses.noc.ntua.gr

On Sun, 01 Jun 2003 21:05:41 +0300, Papastefanos Serafeim wrote:

> There is a small problem in that solution, I cannot just declare the
> generator in the task type: There is a function in a different package
> that is used to return a random number in a given range and that
> function is used at other places too...

If the function accepts a generator as an argument then David's suggestion
will still work correctly.

-- 
Bobby Bryant
Austin, Texas




  parent reply	other threads:[~2003-06-02  2:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-31 22:01 Random numbers in tasks Papastefanos Serafeim
2003-06-01  2:09 ` David C. Hoos
2003-06-01  3:42   ` Bobby D. Bryant
2003-06-01 18:05     ` Papastefanos Serafeim
2003-06-01 21:31       ` tmoran
2003-06-02  2:24       ` Bobby D. Bryant [this message]
2003-06-02  3:29       ` Robert I. Eachus
2003-06-02  5:32         ` Bobby D. Bryant
2003-06-02 14:35         ` Papastefanos Serafeim
2003-06-02 20:50           ` Robert I. Eachus
2003-06-03 19:37             ` Papastefanos Serafeim
replies disabled

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