In our previous episode, Henry Vermaak said: > >> select() doesn't time out. So your error can be as much as 990ms per > >> iteration of the loop. So much for precision then. > > > > select() doesn't seam to return how much time has passed, so how do > > select() on linux will actually modify the timeout (fpc overloads > select(), but presumably this will still happen when you use ptimeval > for the timeout). You shouldn't rely on this, though, read the man page > for more info. This is what Mark was trying to say in his reply to your > original message. > > > you expect me to know the value when the only thing FPC offers for > > time counting is Now() and each UNIX goes a wildly different way about > > this? > > I've offered a solution in my reply to Martin Schreiber, but fpc doesn't > offer functions for posix timers. Perhaps you can check if Marco is in > a good mood?
Not likely with Linux-only stuff in the same msg. That's where I stopped reading pretty much. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal