Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Bundle Threads #533

Conversation

achristoforides
Copy link
Member

@achristoforides achristoforides commented Mar 22, 2021

This PR removes the BundleThread functionality from CppMicroServices.

BundleThread.h, BundleThread.cpp, and ConcurrencyTest.cpp are removed from the repo.

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
- Because of the removal of BundleThreads, this test is invalid
  and will always cause a deadlock (at least on Linux and Mac)

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
framework/src/bundle/CoreBundleContext.h Outdated Show resolved Hide resolved
framework/src/bundle/BundlePrivate.cpp Outdated Show resolved Hide resolved
framework/src/bundle/BundlePrivate.cpp Outdated Show resolved Hide resolved
cmake/usCTestScript.cmake Outdated Show resolved Hide resolved
framework/test/driver/ConcurrencyTest.cpp Outdated Show resolved Hide resolved
…iles

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
@codecov-io
Copy link

Codecov Report

Merging #533 (949a523) into development (03b44d2) will decrease coverage by 0.54%.
The diff coverage is 85.71%.

❗ Current head 949a523 differs from pull request most recent head 51b7213. Consider uploading reports for the commit 51b7213 to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##           development     #533      +/-   ##
===============================================
- Coverage        89.77%   89.23%   -0.55%     
===============================================
  Files              237      158      -79     
  Lines             9706     6616    -3090     
===============================================
- Hits              8714     5904    -2810     
+ Misses             992      712     -280     
Impacted Files Coverage Δ
framework/src/util/FrameworkPrivate.cpp 78.81% <50.00%> (+4.24%) ⬆️
framework/src/bundle/BundlePrivate.cpp 82.88% <80.00%> (-0.93%) ⬇️
framework/src/bundle/Bundle.cpp 100.00% <100.00%> (+0.62%) ⬆️
framework/src/bundle/CoreBundleContext.cpp 94.20% <100.00%> (-0.85%) ⬇️
framework/src/bundle/BundleThread.h 0.00% <0.00%> (-100.00%) ⬇️
framework/src/bundle/BundleEventInternal.h 0.00% <0.00%> (-100.00%) ⬇️
framework/src/bundle/BundleThread.cpp 0.97% <0.00%> (-78.91%) ⬇️
...endium/ServiceComponent/src/ComponentException.cpp 0.00% <0.00%> (-57.15%) ⬇️
...nclude/cppmicroservices/ServiceTrackerCustomizer.h 50.00% <0.00%> (-33.34%) ⬇️
...ramework/include/cppmicroservices/detail/Threads.h 78.94% <0.00%> (-21.06%) ⬇️
... and 206 more

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
framework/src/bundle/BundlePrivate.cpp Outdated Show resolved Hide resolved
framework/src/bundle/BundlePrivate.cpp Outdated Show resolved Hide resolved
- Changes were requested by reviewer

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
- Changes were requested by reviewer

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
- Removed numberings

Signed-off-by: The MathWorks, Inc. <alchrist@mathworks.com>
@jeffdiclemente jeffdiclemente merged commit 29dc84f into CppMicroServices:development Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants