Use thr_min_stack() instead of sysconf (_SC_THREAD_STACK_MIN). if
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Wed, 3 Jul 2002 10:38:49 +0000 (10:38 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 3 Jul 2002 10:38:49 +0000 (10:38 +0000)
commit5f38e998951f17dc7c3f548f07d6dfabafee704b
tree2561871f986ad40b6d642596221a87a9dfec5014
parent07f352af636e2ee310986d5030e3816203adb16e
Use thr_min_stack() instead of sysconf (_SC_THREAD_STACK_MIN). if

2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread/gthread-solaris.c: Use thr_min_stack() instead of
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
the stack might be to small for any nontrivial thread. Discovered
on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gthread/gthread-solaris.c