update thread creation code a bit
commit619cea2676870d362a93458dd5ea3dbc2a24317f
authorkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 4 Oct 2006 19:47:22 +0000 (4 19:47 +0000)
committerkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 4 Oct 2006 19:47:22 +0000 (4 19:47 +0000)
treeec12e69e00eece03476c2cb0feca8bc2b7be859b
parent93d59f9a00b7f461cec3ba5e05bdaac33f1a081e
update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44378 614ede4d-c843-0410-af14-a771ab80d22e
27 files changed:
apps/app_meetme.c
apps/app_mixmonitor.c
apps/app_queue.c
channels/chan_alsa.c
channels/chan_h323.c
channels/chan_iax2.c
channels/chan_mgcp.c
channels/chan_oss.c
channels/chan_phone.c
channels/chan_sip.c
channels/chan_skinny.c
channels/chan_zap.c
include/asterisk/utils.h
main/asterisk.c
main/autoservice.c
main/cdr.c
main/devicestate.c
main/dnsmgr.c
main/http.c
main/manager.c
main/utils.c
pbx/pbx_dundi.c
pbx/pbx_spool.c
res/res_jabber.c
res/res_musiconhold.c
res/res_smdi.c
res/res_snmp.c