[Asterisk-cvs] asterisk/include/asterisk utils.h,1.23,1.24

markster at lists.digium.com markster at lists.digium.com
Thu Mar 3 18:04:29 CST 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv15511/include/asterisk

Modified Files:
	utils.h 
Log Message:
Make stack size be selectable


Index: utils.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/utils.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- utils.h	3 Mar 2005 16:18:44 -0000	1.23
+++ utils.h	4 Mar 2005 00:01:40 -0000	1.24
@@ -161,11 +161,11 @@
 #define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__
 
 #define AST_STACKSIZE 128 * 1024
-
+#define ast_pthread_create(a,b,c,d) ast_pthread_create_stack(a,b,c,d,0)
 #ifdef __linux__
 #define ast_strcasestr strcasestr
 #else
 extern char *ast_strcasestr(const char *, const char *);
 #endif /* __linux__ */
-extern int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data);
+extern int ast_pthread_create_stack(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data, size_t stacksize);
 #endif




More information about the svn-commits mailing list