how to delay executions in a thread ?

Discussion in 'Ruby' started by jvivenot, Jun 17, 2006.

  1. jvivenot

    jvivenot Guest

    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
    jvivenot, Jun 17, 2006
    #1
    1. Advertising

  2. jvivenot

    jvivenot Guest

    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
    jvivenot, Jun 17, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sm9obiBXYWxrZXI=?=

    Redundant ASP.NET SQL command executions.

    =?Utf-8?B?Sm9obiBXYWxrZXI=?=, Oct 7, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    362
    Hermit Dave
    Oct 11, 2004
  2. r1
    Replies:
    0
    Views:
    843
  3. Replies:
    12
    Views:
    616
    Ari Lukumies
    Jun 4, 2005
  4. Hendrik Maryns

    Storing preprocessed data over executions

    Hendrik Maryns, Apr 4, 2008, in forum: Java
    Replies:
    7
    Views:
    504
    Hendrik Maryns
    Apr 8, 2008
  5. Replies:
    3
    Views:
    510
    Arne Vajhøj
    Apr 14, 2008
Loading...

Share This Page