On Wed, Aug 09, 2000 at 12:58:20PM +0700, Adi Sudewa wrote:
> 
> Hi all,
> 
> how to generate random integers from within real-time thread.
> I need to generate random numbers so my simulation can be unpredictable.
> It is not cool to have a train running with 20.00 m/s speed 
> all the time so I'd like to have the speed fluctuate round 20.00 m/s.


The GNU Scientific Library has one of the finest collections
of PRNGs, from the trvially simple to ones capable of real
work, and then some capable of Real Work (tm).  I'd pick a
relatively simple one and port it to RT.




dave...

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to