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

[c++] Use std::future::get() instead of ::wait() #2320

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

eddelbuettel
Copy link
Contributor

@eddelbuettel eddelbuettel commented Mar 25, 2024

Closes #2319

Issue and/or context:

See #2319 for discussion

Changes:

The use of std::future::wait() is replaced by std::future::get().

Notes for Reviewer:

SC 43721

Copy link

Copy link

codecov bot commented Mar 25, 2024

Codecov Report

Merging #2320 (f0c2ee9) into main (3346005) will decrease coverage by 0.02%.
Report is 2 commits behind head on main.
The diff coverage is 50.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2320      +/-   ##
==========================================
- Coverage   78.78%   78.76%   -0.02%     
==========================================
  Files         140      140              
  Lines       10750    10750              
  Branches      215      215              
==========================================
- Hits         8469     8467       -2     
- Misses       2183     2184       +1     
- Partials       98       99       +1     
Flag Coverage Δ
libtiledbsoma 67.64% <50.00%> (-0.08%) ⬇️
python 90.58% <ø> (ø)
r 74.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 90.58% <ø> (ø)
libtiledbsoma 48.69% <50.00%> (-0.16%) ⬇️

@johnkerl johnkerl changed the title [c++] Use std::future::get() instead of ::wait() [c++] Use std::future::get() instead of ::wait() Mar 25, 2024
@eddelbuettel eddelbuettel merged commit b613f3b into main Mar 25, 2024
15 checks passed
@eddelbuettel eddelbuettel deleted the de/sc-43721/use_std_future_get branch March 25, 2024 21:19
johnkerl pushed a commit that referenced this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[c++] Use std::future::get() to collect asynchronous query
3 participants