[Asterisk-bsd] Stack size in pthreads

Olle E. Johansson asterisk-bsd@lists.digium.com
Tue, 20 Jul 2004 16:36:24 +0200


http://bugs.digium.com/bug_view_page.php?bug_id=0002067

Seems like the default stack size for a native thread in FreeBSD is 64k,
which is not enough for Asterisk. We need to make it higher.

Questions:
* In how many places of the source do we need to set the thread stacksize?

* Is this needed for other BSD:s as well? What about Mac OS/X?

Again, this is beyond my knowledge of programming, so we need help in
coming through here. Raising the stack size made my crashes disappear.

Join me in the bug tracker, now :-)

And thank you Oryx, for a great job in providing us with fixes and information.

/O