Re: [I] Remove service_tracker.h service_tracker_customizer.h header and bundleContext_getServiceReference (celix)

2024-02-25 Thread via GitHub


pnoltes commented on issue #87:
URL: https://github.com/apache/celix/issues/87#issuecomment-1962992068

   With the addition of `celix_bundleContext_useTrackedService*` functions, the 
functions `celix_bundleContext_useService*`  and methods 
`celix::BundleContext::useService*` are functional superfluous and less ideal 
to use (more prone to deadlocks). 
   
- [ ] Remove the  the functions `celix_bundleContext_useService*`  and 
methods `celix::BundleContext::useService*`  to decrease the code size and 
improve the maintainability. Also introduce some testing methods to replace the 
useService with wait timeout usecase for testing. 


-- 
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: [email protected]

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



Re: [I] Remove service_tracker.h service_tracker_customizer.h header and bundleContext_getServiceReference (celix)

2024-02-10 Thread via GitHub


pnoltes commented on issue #87:
URL: https://github.com/apache/celix/issues/87#issuecomment-1937012505

   As discussed in 
https://lists.apache.org/thread/6gp5crw1pp408jw2fbwlg149n5rm36pv before the 
service tracker headers can be removed from the public API some additional 
tracker API in the bundle context is needed.
   
   Mainly to be able to use tracked services out side of 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.

To unsubscribe, e-mail: [email protected]

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