diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2005-02-18 16:07:05 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2005-02-18 16:07:05 +0000 |
| commit | 0e963ec574581ca98367cf204f6758a0ebb49bb7 (patch) | |
| tree | 1548acddee9de47da63f6cb6f23034910d1734df /lib/libpthread/thread/thr_init.c | |
| parent | 7b50d90fdec16c6eec47bb5c3629f8f815ba70e2 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
| -rw-r--r-- | lib/libpthread/thread/thr_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_init.c b/lib/libpthread/thread/thr_init.c index f963789588bf..c14362732b03 100644 --- a/lib/libpthread/thread/thr_init.c +++ b/lib/libpthread/thread/thr_init.c @@ -421,7 +421,7 @@ init_private(void) mib[1] = KERN_CLOCKRATE; len = sizeof (struct clockinfo); if (sysctl(mib, 2, &clockinfo, &len, NULL, 0) == 0) - _clock_res_usec = clockinfo.tick; + _clock_res_usec = 1000000 / clockinfo.stathz; else _clock_res_usec = CLOCK_RES_USEC; |
