summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_specific.c
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2008-01-07 10:28:07 +0000
committersimonb <simonb@NetBSD.org>2008-01-07 10:28:07 +0000
commitcfde7482cd4954b0ddc2d2f1e98b86a908c29002 (patch)
treefe18b5a7a23a6e6b2807d2fe0ccca42af399690d /lib/libpthread/pthread_specific.c
parent7e40665ceb29a4c84d07cc7ca71d555e693ee51b (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