You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2022/07/17 13:03:45 UTC

[GitHub] [celix] xuzhenbao commented on a diff in pull request #434: Fixes issue #417

xuzhenbao commented on code in PR #434:
URL: https://github.com/apache/celix/pull/434#discussion_r922830716


##########
bundles/remote_services/discovery_common/include/discovery.h:
##########
@@ -64,9 +65,8 @@
 struct discovery {
     celix_bundle_context_t *context;
 
-    celix_thread_mutex_t listenerReferencesMutex;
-    celix_thread_mutex_t discoveredServicesMutex;
-
+    celix_thread_mutex_t mutex;// projects: closed, listenerReferences, discoveredServices
+    bool stoped;//is discovery stoped

Review Comment:
   Thank you for your review.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org