[fpc-pascal]High resolution timers on linux ?
Lee, John
LeeJ at logica.com
Wed Aug 29 12:47:31 CEST 2001
did you look at Thomas Schatzl's CPU- advantage it's already in fpc...
-----Original Message-----
From: Kenneth Due [mailto:kenneth at computercafeen.dk]
Sent: Tuesday, August 28, 2001 07:07
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: Re: [fpc-pascal]High resolution timers on linux ?
I think usleep will work for me, but how do I get fpc to understand the
command
how do i make a link from fpc to libc ?
At 18:53 28-08-01 +0200, you wrote:
>> > 486 ?
>> >
>> > This piece of software is meant to be running on a
>> > SingleBoardComputer running a Intel 386EX Microprocessor @ 25 Mhz
>> > with a 2.2."something" kernel
>> >
>> > I suppose it still can use the usleep function,
>> > if it is implementet into fpc ?
>>
>> usleep() is a libc function and interface should be available
>> in the Linux-unit. It works independant of the underlying platform.
>>
>> You could also use the ualarm(), if you need a "callback" style
>> working. It is in practice, however, equal to set/getitimer().
>>
>> Please do
>> man alarm
>> man setitimer
>> man usleep
>>
>> And select whatever you think is good for you. I believe that
>> most of these libc-functions can be interfaced through Linux-unit.
>
>The Linux unit is standalone, and doesn't interface to libc.
>
>It contains similar functions though (because they are based on the same
>primitives)
>
>_______________________________________________
>fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
Kenneth Due
http://www.skummel.dk
Tlf.
5850 6402 priv.
2220 7691 arb.
Risikabel : Hybridnet med kinesiske tv-udsendeler
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list