diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-08 17:15:02 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-08 17:15:02 +0000 |
commit | 28a366ed7268db8428ee2d78fb44f29c78067dd9 (patch) | |
tree | e2443cc3c4c3b09b706e611a61f475c509778c57 /autoservice.c | |
parent | d85f0f5c24a90dab01664373615a8e243e6f5851 (diff) |
Merge BSD stack size work (bug #2067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'autoservice.c')
-rwxr-xr-x | autoservice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoservice.c b/autoservice.c index 98a963353..0082ea87a 100755 --- a/autoservice.c +++ b/autoservice.c @@ -33,6 +33,7 @@ #include <asterisk/linkedlists.h> #include <asterisk/indications.h> #include <asterisk/lock.h> +#include <asterisk/utils.h> #define MAX_AUTOMONS 256 @@ -106,7 +107,7 @@ int ast_autoservice_start(struct ast_channel *chan) aslist = as; res = 0; if (needstart) { - if (pthread_create(&asthread, NULL, autoservice_run, NULL)) { + if (ast_pthread_create(&asthread, NULL, autoservice_run, NULL)) { ast_log(LOG_WARNING, "Unable to create autoservice thread :(\n"); free(aslist); aslist = NULL; |