Menu

Unix wait

2014-07-20
2014-12-22
  • Robert Tidey

    Robert Tidey - 2014-07-20

    If using this code for a linux build by changing the comments then the sleep is in seconds not milliseconds like for Windows. If just the comments are removed then one ends up with a very long wait. I changed the interval to be calculated in seconds then added a 1000* in the Windows version of Sleep

     
    • CaptainIffy

      CaptainIffy - 2014-12-22

      Thanks Robert. I didn't see your post until now. My port to Linux was very flakey, but I'm trying to move my over to Lubuntu Linux myself so I've gone through it with a fine toothcomb just now. Many problems are fixed. It supports local time, waits better, and support windows and Linux compiles (at least for me). I'm quite interested in the "sunwait rise list 1 nogmt" option for creating timestamped job requests, that could survive reboots.

       
  • CaptainIffy

    CaptainIffy - 2014-12-22

    I've just released version 0.6. It should handle local time now. The sleep problem on Linux is fixed (I hope); and the code is portable, without editing, on Linux and Windows. New minor-option "gmt/nogmt". Please let me know if it's broken, or I've misunderstood time in some new way. I still need time to "get over" the Greenwich Prime Meridian being moved 102 and bit metres away from where it should be.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.