celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] pnoltes opened a new pull request #313: Feature/refactor c dep man service trackers
Date Sun, 17 Jan 2021 20:02:11 GMT

pnoltes opened a new pull request #313:
URL: https://github.com/apache/celix/pull/313

   Refactors the dependency manager to use the celix_ api and when possible async api. 
   This is more a complete rewrite than a refactor of the C dependency manager. 
   The dependency manager did not use the celix_ api and as result was not thread safe and
was designed to be extended with a separate dependency manager event thread (which never was
   The changed dependency manager creates and stop service trackers async, registers services
async and uses the celix_bundleContext_registerService for service registration. All in all
this should now be a thread safe implementation.
   Because the async api is used for destruction of the dep man C objects, these functions
are now also async. There are still sync variants and they use the celix_framework_waitForEvents
function to synchronize till the destruction is completed on the Celix event thread.

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:

View raw message