Cache system clock in userland to save a few avoidable sleeps.
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 1 Mar 2007 20:16:49 +0000 (20:16 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 1 Mar 2007 20:16:49 +0000 (20:16 +0000)
commit320e6b5eaa2ea265c86b12c93f0ec57dec270fd4
treef88f1d0d3a59aaabb1fc9c32867f79261f62cb48
parentc13d67b82c674fffe5d65656aff7484c227a74a1
Cache system clock in userland to save a few avoidable sleeps.
Also restore (albeit not hard-coded this time) the old Linux custom
of not waiting for a delay shorter than the scheduler precision
src/misc/mtime.c