[svn-commits] irroot: branch irroot/distrotech-customers-1.8 r335971 - /team/irroot/distrot...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Sep 14 15:22:13 CDT 2011


Author: irroot
Date: Wed Sep 14 15:22:09 2011
New Revision: 335971

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=335971
Log:
Version 1.8 does not have OBJ_NOLOCK so revert to original for 1.8 ASTERISK-18101

Modified:
    team/irroot/distrotech-customers-1.8/apps/app_queue.c

Modified: team/irroot/distrotech-customers-1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/apps/app_queue.c?view=diff&rev=335971&r1=335970&r2=335971
==============================================================================
--- team/irroot/distrotech-customers-1.8/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-1.8/apps/app_queue.c Wed Sep 14 15:22:09 2011
@@ -7003,7 +7003,7 @@
 	 * For clarity, we could just be reloading members, in which case we don't want to mess
 	 * with the other queue parameters at all*/
 	if (queue_reload) {
-		ao2_callback(queues, OBJ_NODATA | OBJ_NOLOCK, mark_dead_and_unfound, (char *) queuename);
+		ao2_callback(queues, OBJ_NODATA, mark_dead_and_unfound, (char *) queuename);
 	}
 
 	/* Chug through config file */
@@ -7020,7 +7020,7 @@
 	ast_config_destroy(cfg);
 	/* Unref all the dead queues if we were reloading queues */
 	if (queue_reload) {
-		ao2_callback(queues, OBJ_NODATA | OBJ_MULTIPLE | OBJ_UNLINK | OBJ_NOLOCK, kill_dead_queues, (char *) queuename);
+		ao2_callback(queues, OBJ_NODATA | OBJ_MULTIPLE | OBJ_UNLINK, kill_dead_queues, (char *) queuename);
 	}
 	ao2_unlock(queues);
 	return 0;




More information about the svn-commits mailing list