Sorry for the OT post - thought the code I'm writing IS intended to
be run on linux boxen here. *grin*
I'm working on a generic network based lock server. The problem I'm
running into is in regards to timing. In my first iteration of the
server, it based timings on wallclock time ( a literal read from the
time(2) call ). However, this isn't sufficient for my purposes in that
if a system clock gets "off" and then is reset, it could skew the
timing of what the server has to do.
What I'm looking for is a way to be able to have a running timer that I
can poll at my leisure for time comparisons. I'd prefer to stick to
plain 'ole POSIXish C rather than pulling in 3rd party libraries ( for
instance, I know that glib has a GTimer mechanism) but I don't know
enough about this stuff to pull it off.
Anybody have pointers to things to look at?
If this didn't make sense or people need clarifications, please feel
free to ask...
--
"Maybe I'll be able to get a job when I graduate..."
-Linus Torvalds
Cole Tuininga
Network Admin
Code Energy, Inc
[EMAIL PROTECTED]
(603) 766-2208
PGP Key ID: 0x43E5755D
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************