aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/thread
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-09-19 23:28:13 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-09-19 23:28:13 +0000
commit302e193264068cbb07699df8b0c61a9bb31ed580 (patch)
tree95ce758d67e8ea12774d74710d23a00baeeebefe /lib/libpthread/thread
parent9643769a3a801f7bc54688ae63d05169ba64df10 (diff)
downloadsrc-302e193264068cbb07699df8b0c61a9bb31ed580.tar.gz
src-302e193264068cbb07699df8b0c61a9bb31ed580.zip
Make KSE_STACKSIZE machine dependent by moving it from thr_kern.c to
pthread_md.h. This commit only moves the definition; it does not change it for any of the platforms. This more easily allows 64-bit architectures (in particular) to pick a slightly larger stack size.
Notes
Notes: svn path=/head/; revision=120263
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r--lib/libpthread/thread/thr_kern.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index 4c782653a674..bf94a11c0a95 100644
--- a/lib/libpthread/thread/thr_kern.c
+++ b/lib/libpthread/thread/thr_kern.c
@@ -82,8 +82,6 @@ __FBSDID("$FreeBSD$");
#define MAX_CACHED_KSEGS 50
#endif
-#define KSE_STACKSIZE 16384
-
#define KSE_SET_MBOX(kse, thrd) \
(kse)->k_kcb->kcb_kmbx.km_curthread = &(thrd)->tcb->tcb_tmbx