diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-12-20 04:43:34 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-12-20 04:43:34 +0000 |
commit | e034ab54f2626f6cd7ab57942ba3b032684d2ed4 (patch) | |
tree | dd4940685abc260ad48b4612a46be2cb05f279aa /lib/libthr/thread/thr_private.h | |
parent | 5a984630fa31489671b035bd30308b299b2e2b50 (diff) | |
download | FreeBSD-src-e034ab54f2626f6cd7ab57942ba3b032684d2ed4.zip FreeBSD-src-e034ab54f2626f6cd7ab57942ba3b032684d2ed4.tar.gz |
Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, use
it as a default spin cycle count.
Diffstat (limited to 'lib/libthr/thread/thr_private.h')
-rw-r--r-- | lib/libthr/thread/thr_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index d3a179c..eb2632d 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -583,6 +583,7 @@ extern size_t _thr_guard_default __hidden; extern size_t _thr_stack_default __hidden; extern size_t _thr_stack_initial __hidden; extern int _thr_page_size __hidden; +extern int _thr_adaptive_spin __hidden; /* Garbage thread count. */ extern int _gc_count __hidden; |