You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2021/10/06 09:39:21 UTC

[celix] 01/01: Merge pull request #370 from apache/feature/robust_promise_fail_and_resolve

This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 7c785c54cffccf6c5c36fda3afed4f74a61c88a4
Merge: be7d721 d707cd2
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Wed Oct 6 11:39:11 2021 +0200

    Merge pull request #370 from apache/feature/robust_promise_fail_and_resolve
    
    Updates Promise `resolve` and `fail` functions to make them robust.

 libs/promises/README.md                           |   8 +-
 libs/promises/api/celix/Deferred.h                | 181 +++++++++++++++++----
 libs/promises/api/celix/Promise.h                 |  10 +-
 libs/promises/api/celix/impl/SharedPromiseState.h | 184 ++++++++--------------
 libs/promises/gtest/src/PromisesTestSuite.cc      | 123 ++++++++++++++-
 libs/promises/gtest/src/VoidPromisesTestSuite.cc  | 102 ++++++++++++
 6 files changed, 451 insertions(+), 157 deletions(-)