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 /pbx/pbx_spool.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 'pbx/pbx_spool.c')
-rwxr-xr-x | pbx/pbx_spool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index 2105ffe7b..fd51926b0 100755 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -253,7 +253,7 @@ static void launch_service(struct outgoing *o) pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); - if (pthread_create(&t,&attr,attempt_thread, o) == -1) { + if (ast_pthread_create(&t,&attr,attempt_thread, o) == -1) { ast_log(LOG_WARNING, "Unable to create thread :(\n"); free(o); } @@ -382,7 +382,7 @@ int load_module(void) } pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); - if (pthread_create(&thread,&attr,scan_thread, NULL) == -1) { + if (ast_pthread_create(&thread,&attr,scan_thread, NULL) == -1) { ast_log(LOG_WARNING, "Unable to create thread :(\n"); return -1; } |