[asterisk-commits] russell: trunk r66208 - /trunk/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 25 23:07:39 MST 2007


Author: russell
Date: Sat May 26 01:07:38 2007
New Revision: 66208

URL: http://svn.digium.com/view/asterisk?view=rev&rev=66208
Log:
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)

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=66208&r1=66207&r2=66208
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Sat May 26 01:07:38 2007
@@ -323,7 +323,6 @@
 	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 @@
 			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);
 		}
 	}
 



More information about the asterisk-commits mailing list