• DOS "sleep" utility

    From Don Guy@1:249/176 to mark lewis on Tue Nov 27 22:52:10 2001
    Greetings mark!

    A long time ago, in a galaxy far, far away, a coded message from mark lewis to Don Guy was intercepted...

    it would seem that you don't simply want to delay/sleep for a time
    but instead to actually wait for the other task to complete before resuming??

    Yes and no. :-) I'm attempting to mirror a REXX script with a DOS batch file,
    which loops until a semaphore has been cleared.

    :Top
    if exist FILENAME.EXT
    sleep(x)
    goto Top

    I could simply eliminate the sleep() function, but I'd prefer to avoid unnecessary CPU loading.

    -Don



    ... LISP: Lots of Infuriating & Silly Parenthesis
    ---
    * Origin: EI/2 [Carleton Place, Ontario, Canada] (1:249/176)
  • From Don Guy@1:249/176 to Mike Luther on Tue Nov 27 22:51:17 2001
    Greetings Mike!

    A long time ago, in a galaxy far, far away, a coded message from Mike Luther
    to Don Guy was intercepted...

    To that extent I'll also mail you my rework of it for DOS called
    SNOOZE which doesn't have that problem and will yield up time slices
    at the same time it is doing a fair job that WAIT also does ..

    That sounds ideal--e-mail on its way!

    -Don



    ... CCITT: Can't Conjure Intelligent Thoughts Today
    ---
    * Origin: EI/2 [Carleton Place, Ontario, Canada] (1:249/176)
  • From Stewart Arnett@3:772/100 to Don Guy on Thu Nov 29 13:34:32 2001
    Hello Don.

    26 Nov 01 13:01, you wrote to All:

    Greetings All!

    Does anyone know of the existance of a DOS-based utility or
    undocumented command which performs similarly to REXX's sleep()
    function? I need to be able to put a batch file on hold while mail is being tossed by another process...

    -Don

    What's wrong with

    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥

    CALL MAIL.BAT

    GOTO ALPHA

    :ALPHA

    CALL SOMETHIN.BAT

    GOTO START

    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥

    or something similar?

    Stewart

    --- GoldED/2 3.0.1
    * Origin: The RockBBS Auckland NZ 64-9-5799600 (3:772/100)
  • From Eric Van Hyfte@2:323/8 to Don Guy on Thu Nov 29 01:40:49 2001
    Salut Don,

    Mercredi Novembre 28 2001 06:52,
    Don Guy écrivait à mark lewis :

    Yes and no. :-) I'm attempting to mirror a REXX script with a DOS
    batch file, which loops until a semaphore has been cleared.

    Why don't you use 4OS2 which have all this facilities ?

    Amicalement Eric

    ... Copain: "avec qui on partage le pain"... Copine: ???
    --- GoldED/2 3.0.1
    * Origin: Le Viking BBS - France - +33 466.773.928 - (2:323/8)
  • From Don Guy@1:249/176 to Stewart Arnett on Thu Nov 29 13:36:23 2001
    Greetings Stewart!

    A long time ago, in a galaxy far, far away, a coded message from Stewart Arnett to Don Guy was intercepted...

    What's wrong with
    <snip>
    or something similar?

    My goal is a non-CPU intensive loop, while waiting for a semaphore to be cleared. Mike Luther was kind enough to share a utility of his with me which sounds like it will do the trick, though I haven't had the opportunity to try it yet. My fiancee rolled her car earlier this morning--it's been a busy day.

    -Don



    ... C: Can't ....
    ---
    * Origin: EI/2 [Carleton Place, Ontario, Canada] (1:249/176)
  • From Don Guy@1:249/176 to Eric Van Hyfte on Fri Nov 30 06:17:47 2001
    Greetings Eric!

    A long time ago, in a galaxy far, far away, a coded message from Eric Van Hyfte to Don Guy was intercepted...

    Why don't you use 4OS2 which have all this facilities ?

    Simple--it never occurred to me. Native OS/2, combined with REXX, has all the features which I need. The only reason why a need for a DOS equivalent of sleep() has come up, is that I am trying to set up my system to toss mail when it is up under Win98.

    -Don



    ... "Bother," said Pooh, as he hit his reset switch.
    ---
    * Origin: EI/2 [Carleton Place, Ontario, Canada] (1:249/176)
  • From mark lewis@1:3634/12 to Don Guy on Fri Nov 30 15:41:34 2001
    Yes and no. :-) I'm attempting to mirror a REXX
    script with a DOS batch file, which loops until a
    semaphore has been cleared.

    Why don't you use 4OS2 which have all this facilities ?

    <<smack in my head>> duh... or 4DOS in DOS-VDMs... i generally always remember those two as i run them for everything over here... if it wasn't for 4DOS and 4OS2, my system wouldn't...

    )\/(ark


    * Origin: (1:3634/12)
  • From Stewart Arnett@3:772/100 to Don Guy on Sat Dec 1 08:29:22 2001
    Hello Don.

    29 Nov 01 21:36, you wrote to me:

    Greetings Stewart!

    My goal is a non-CPU intensive loop,

    I do hope she escaped with out injury, though it may sound like she achieved your goal (G)

    My fiancee rolled her car earlier this morning--it's been a busy
    day.

    I can imagine.

    Regards,
    Stewart

    --- GoldED/2 3.0.1
    * Origin: The RockBBS Auckland NZ 64-9-5799600 (3:772/100)