diff options
| author | simonb <simonb@NetBSD.org> | 2008-01-07 10:28:07 +0000 |
|---|---|---|
| committer | simonb <simonb@NetBSD.org> | 2008-01-07 10:28:07 +0000 |
| commit | cfde7482cd4954b0ddc2d2f1e98b86a908c29002 (patch) | |
| tree | fe18b5a7a23a6e6b2807d2fe0ccca42af399690d /lib/libpthread/pthread_specific.c | |
| parent | 7e40665ceb29a4c84d07cc7ca71d555e693ee51b (diff) | |
Actually return the computed uptime in microuptime(). Fixes many
wierd timing issues on non-timecounter ports (tested on sbmips, and
omap ARM by Marty Fouts).
Also move the microtime() inside the splclock() block in the same
function - it may be possible for the "time" variable to be updated
after the call to microtime() but before we use it to calculate the
offset from mono_time.
Diffstat (limited to 'lib/libpthread/pthread_specific.c')
0 files changed, 0 insertions, 0 deletions
