Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > how to delay executions in a thread ?

Reply
Thread Tools

how to delay executions in a thread ?

 
 
jvivenot
Guest
Posts: n/a
 
      06-16-2006
Hello,
I'd like to call a function every second or less.
I thought of doing it thanks to threads, but nevertheless I need to
wait a bit before executing the next command...
How could I do ?
Thx

 
Reply With Quote
 
 
 
 
jvivenot
Guest
Posts: n/a
 
      06-16-2006
I was actually searching for sleep function.
Thx anyway.

Julien
- The best way to find something is to ask somebody about it and then
think that your question is obviously dumb...

jvivenot wrote:
> Hello,
> I'd like to call a function every second or less.
> I thought of doing it thanks to threads, but nevertheless I need to
> wait a bit before executing the next command...
> How could I do ?
> Thx


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Storing preprocessed data over executions Hendrik Maryns Java 7 04-08-2008 02:12 PM
Help! Retrieve Results from Asynchronous Executions r1 ASP .Net 0 03-29-2006 06:31 PM
How to store a variable value for more than one executions harishg2@gmail.com C Programming 12 06-04-2005 03:55 PM
Redundant ASP.NET SQL command executions. =?Utf-8?B?Sm9obiBXYWxrZXI=?= ASP .Net 7 10-11-2004 06:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57