gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r22136 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r22136 - gnunet/src/include
Date: Wed, 20 Jun 2012 12:04:36 +0200

Author: harsha
Date: 2012-06-20 12:04:36 +0200 (Wed, 20 Jun 2012)
New Revision: 22136

Modified:
   gnunet/src/include/gnunet_lockmanager_service.h
Log:
-restrictions on using GNUNET_LOCKMANAGER_cancel_request()

Modified: gnunet/src/include/gnunet_lockmanager_service.h
===================================================================
--- gnunet/src/include/gnunet_lockmanager_service.h     2012-06-20 10:04:01 UTC 
(rev 22135)
+++ gnunet/src/include/gnunet_lockmanager_service.h     2012-06-20 10:04:36 UTC 
(rev 22136)
@@ -92,7 +92,9 @@
  * @param lock the lock for which this status is relevant
  *
  * @param status GNUNET_LOCKMANAGER_SUCCESS if the lock has been successfully
- *          acquired; GNUNET_LOCKMANAGER_RELEASE when the acquired lock is lost
+ *          acquired; GNUNET_LOCKMANAGER_RELEASE when the acquired lock is
+ *          lost. GNUNET_LOCKMANAGER_cancel_request must NOT be called in this
+ *          callback when status == GNUNET_LOCKMANAGER_RELEASE
  */
 typedef void 
 (*GNUNET_LOCKMANAGER_StatusCallback) (void *cls,
@@ -142,8 +144,8 @@
 
 /**
  * Function to cancel the locking request generated by
- * GNUNET_LOCKMANAGER_acquire_lock. If the lock is acquired us then the lock is
- * released. GNUNET_LOCKMANAGER_StatusCallback will not be called upon any
+ * GNUNET_LOCKMANAGER_acquire_lock. If the lock is acquired by us then the lock
+ * is released. GNUNET_LOCKMANAGER_StatusCallback will not be called upon any
  * status changes resulting due to this call.
  *
  * @param request the LockingRequest to cancel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]