nanogui: Thread: MWin_0.88pre10


[<<] [<] Page 1 of 1 [>] [>>]
Subject: MWin_0.88pre10
From: ####@####.####
Date: 14 Jul 2000 03:44:01 -0000
Message-Id: <396E8D3B.FD10E0B8@sut.ru>

Hi,

In microwindows 0.88 pre 10 port for DJGPP, what is a function nanosleep
?
Where I can find it ? DJGPP has not it.

Regards,

Victor.



Subject: Re: MWin_0.88pre10
From: Alex Holden ####@####.####
Date: 14 Jul 2000 11:32:39 -0000
Message-Id: <Pine.LNX.4.04.10007141226200.565-100000@hyperspace.linuxhacker.org>

On Fri, 14 Jul 2000 ####@####.#### wrote:
> In microwindows 0.88 pre 10 port for DJGPP, what is a function nanosleep
> ?

nanosleep() is a function which takes a pointer to a timespec structure
which specifies the number of seconds and nanoseconds to wait- you use it
when you want a higher resolution than you get with sleep(). If you have 
it, it will be defined in time.h. If you don't have it, one possibility is
to use select() on an empty fd set but with the required delay in the
timeout argument.

--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.