[asterisk-commits] russell: branch russell/events r84954 - /team/russell/events/res/ais/lck.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 7 20:49:21 CDT 2007


Author: russell
Date: Sun Oct  7 20:49:21 2007
New Revision: 84954

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84954
Log:
Leave a note to myself of something I need to change after having a discussion
on the openais mailing list about multithreaded applications and distributed locks

Modified:
    team/russell/events/res/ais/lck.c

Modified: team/russell/events/res/ais/lck.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/res/ais/lck.c?view=diff&rev=84954&r1=84953&r2=84954
==============================================================================
--- team/russell/events/res/ais/lck.c (original)
+++ team/russell/events/res/ais/lck.c Sun Oct  7 20:49:21 2007
@@ -26,6 +26,10 @@
  *
  * This file contains the code specific to the use of the LCK 
  * (Distributed Locks) Service.
+ *
+ * XXX /todo Each thread that wants to use a distributed lock needs to get its
+ * own handle by using the Open() API call.  A single lock handle from Open()
+ * can not be shared between threads.
  */
 
 #include "asterisk.h"




More information about the asterisk-commits mailing list