bug 7836: fix printcap cache race conditions

Björn Jacke bj at SerNet.DE
Sun Jan 2 14:33:50 MST 2011


Hi,

for 3.6 and master, please use time_mono(), not time() for calculation of
timeouts to make printer timeouts not go mad when the system clock is
being adjusted. You can find several examples of time_mono() usage at
other places. If the timeout does not interact with any variables that
must contain realtime clock values then the use of the monotonic clock
is quite straightforward. Can you update the patch for master
accordingly?

Thanks
Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110102/417c8aa0/attachment.pgp>


More information about the samba-technical mailing list