[Prev][Next][Index][Thread]

# Re: Suspend() question

- Date: Sat, 9 Sep 1995 18:31:59 PDT
- From:
- Cc: moo-cows@parc.xerox.com
- In-reply-to: Your message of "Fri, 08 Sep 95 12:16:48 PDT." <9509090317.AA12547@netmail2.microsoft.com>

    In message <9509090317.AA12547@netmail2.microsoft.com> , you wrote:
    > >    My question is:  Is it possible to make a suspend function that would
    > >  suspend for less than a second?
    >
    > Not portably.  There evidently exist a number of SYSV-derived unices
    > in which getting a usable millisecond wall-clock time is not possible.

    ...in which case you could round up to the nearest whole second, right?
    Functions like suspend/fork only guarantee that you'll sleep for *at
    least* the time specified.

    If you're trying to use it for some application which requires ms
    accuracy, you'll lose when you start transmitting over the network
    anyway...

    --Ben

References:

- RE: Suspend() question

- From: Roger Crew <rfc@microsoft.com>

- Prev: RE: Suspend() question
- Next: TALK: wiz monitoring
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index