diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-26 06:07:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-26 06:07:38 +0000 |
commit | da49ba8f0e093507e6c3c34f2e656d57cb0da1bc (patch) | |
tree | 29727f9b58e7e5095ab3753cb43c1b356d90401f /apps | |
parent | 99220516f51e4ac4b18af31cb920f5cddf66ea87 (diff) |
Since this code now uses the API call for creating a detached thread, there
is no reason to keep a thread attribute structure on the conference structure.
(Pointed out by Tony Mountifield on the asterisk-dev list)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66208 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 5fffa916c..64ee8f9f6 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -323,7 +323,6 @@ struct ast_conference { unsigned int isdynamic:1; /*!< Created on the fly? */ unsigned int locked:1; /*!< Is the conference locked? */ pthread_t recordthread; /*!< thread for recording */ - pthread_attr_t attr; /*!< thread attribute */ const char *recordingfilename; /*!< Filename to record the Conference into */ const char *recordingformat; /*!< Format to record the Conference in */ char pin[MAX_PIN]; /*!< If protected by a PIN */ @@ -1428,7 +1427,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c ast_hangup(conf->lchan); conf->lchan = NULL; } else { - ast_pthread_create_detached_background(&conf->recordthread, &conf->attr, recordthread, conf); + ast_pthread_create_detached_background(&conf->recordthread, NULL, recordthread, conf); } } |