« Return to Thread: How to sleep in Eiffel?

RE: How to sleep in Eiffel?

by Zak Koufakis :: Rate this Message:

Reply to Author | View in Thread

David,

One way of doing this is to use Eiffel's "system" feature to call the
sleep command of the underlying OS - see class EXECUTION_ENVIRONMENT,
feature system.

Unix example:

system ("sleep 30") -- sleep 30 seconds

Zak
-----Original Message-----
From: eiffel_software@...
[mailto:eiffel_software@...] On Behalf Of panfriedwoggle
Sent: 04 May 2008 09:17
To: eiffel_software@...
Subject: [eiffel_software] How to sleep in Eiffel?

Hi all,

Sorry to both the list with what is probably a trivial question, but I
have not been able to find an answer through on-line searching:

How does one "sleep" in Eiffel, i.e. go to sleep for a number of
seconds (or better, microseconds)?

Thanks,

David



------------------------------------

Yahoo! Groups Links



Find out more about Talis at  www.talis.com
Shared InnovationTM

 
Any views or personal opinions expressed within this email may not be those of Talis Information Ltd. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.
 
 
Talis Information Ltd is a member of the Talis Group of companies and is registered in England No 3638278 with its registered office at Knights Court, Solihull Parkway, Birmingham Business Park, B37 7YB.

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

 « Return to Thread: How to sleep in Eiffel?