pnoltes commented on a change in pull request #282:
URL: https://github.com/apache/celix/pull/282#discussion_r496718922



##########
File path: 
bundles/remote_services/remote_service_admin_dfi/src/export_registration_dfi.c
##########
@@ -86,6 +86,7 @@ celix_status_t exportRegistration_create(celix_log_helper_t 
*helper, service_ref
         reg->logFile = logFile;
         reg->servId = strndup(servId, 1024);
         reg->trackerId = -1L;
+        reg->active = true;

Review comment:
       in the create the lock is not needed yet; the structure is then only 
known to a single thread (the creating the structure).




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to