[Asterisk-cvs] asterisk utils.c,1.28,1.29
markster at lists.digium.com
markster at lists.digium.com
Wed Mar 2 21:49:24 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv9566
Modified Files:
utils.c
Log Message:
Support > 300 threads on x86-32 and other 32-bit systems
Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- utils.c 18 Feb 2005 05:29:31 -0000 1.28
+++ utils.c 3 Mar 2005 03:46:41 -0000 1.29
@@ -398,7 +398,7 @@
pthread_attr_init(&lattr);
attr = &lattr;
}
- errno = pthread_attr_setstacksize(attr, PTHREAD_ATTR_STACKSIZE);
+ errno = pthread_attr_setstacksize(attr, AST_STACKSIZE);
if (errno)
ast_log(LOG_WARNING, "pthread_attr_setstacksize returned non-zero: %s\n", strerror(errno));
return pthread_create(thread, attr, start_routine, data); /* We're in ast_pthread_create, so it's okay */
More information about the svn-commits
mailing list