Searched hist:"4 cfc284dace92fa0a825d5adbadd7b02543a303c" (Results 1 – 5 of 5) sorted by relevance
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | context.hpp | diff 4cfc284dace92fa0a825d5adbadd7b02543a303c Thu Sep 22 09:53:33 CDT 2022 Patrick Williams <patrick@stwcx.xyz> async: handle exceptions and stops
Add support in `context` and `scope` to handle exceptions and stop conditions:
* When an unhandled_stop occurs, turn it into an UnhandledStop exception. * When a `scope`-spawned task throws an exception, save it and cause `set_error` on the `scope::empty()`'s Receiver. * When anything in the `context` completes with `set_error` propagate that out to the caller of `context::run`. * If multiple exceptions occur within a `scope`, terminate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I25285f7ece5c0675864489bbe1345fa8e7afa70c
|
/openbmc/sdbusplus/test/async/ |
H A D | context.cpp | diff 4cfc284dace92fa0a825d5adbadd7b02543a303c Thu Sep 22 09:53:33 CDT 2022 Patrick Williams <patrick@stwcx.xyz> async: handle exceptions and stops
Add support in `context` and `scope` to handle exceptions and stop conditions:
* When an unhandled_stop occurs, turn it into an UnhandledStop exception. * When a `scope`-spawned task throws an exception, save it and cause `set_error` on the `scope::empty()`'s Receiver. * When anything in the `context` completes with `set_error` propagate that out to the caller of `context::run`. * If multiple exceptions occur within a `scope`, terminate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I25285f7ece5c0675864489bbe1345fa8e7afa70c
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | exception.hpp | diff 4cfc284dace92fa0a825d5adbadd7b02543a303c Thu Sep 22 09:53:33 CDT 2022 Patrick Williams <patrick@stwcx.xyz> async: handle exceptions and stops
Add support in `context` and `scope` to handle exceptions and stop conditions:
* When an unhandled_stop occurs, turn it into an UnhandledStop exception. * When a `scope`-spawned task throws an exception, save it and cause `set_error` on the `scope::empty()`'s Receiver. * When anything in the `context` completes with `set_error` propagate that out to the caller of `context::run`. * If multiple exceptions occur within a `scope`, terminate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I25285f7ece5c0675864489bbe1345fa8e7afa70c
|
/openbmc/sdbusplus/src/ |
H A D | exception.cpp | diff 4cfc284dace92fa0a825d5adbadd7b02543a303c Thu Sep 22 09:53:33 CDT 2022 Patrick Williams <patrick@stwcx.xyz> async: handle exceptions and stops
Add support in `context` and `scope` to handle exceptions and stop conditions:
* When an unhandled_stop occurs, turn it into an UnhandledStop exception. * When a `scope`-spawned task throws an exception, save it and cause `set_error` on the `scope::empty()`'s Receiver. * When anything in the `context` completes with `set_error` propagate that out to the caller of `context::run`. * If multiple exceptions occur within a `scope`, terminate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I25285f7ece5c0675864489bbe1345fa8e7afa70c
|
/openbmc/sdbusplus/src/async/ |
H A D | context.cpp | diff 4cfc284dace92fa0a825d5adbadd7b02543a303c Thu Sep 22 09:53:33 CDT 2022 Patrick Williams <patrick@stwcx.xyz> async: handle exceptions and stops
Add support in `context` and `scope` to handle exceptions and stop conditions:
* When an unhandled_stop occurs, turn it into an UnhandledStop exception. * When a `scope`-spawned task throws an exception, save it and cause `set_error` on the `scope::empty()`'s Receiver. * When anything in the `context` completes with `set_error` propagate that out to the caller of `context::run`. * If multiple exceptions occur within a `scope`, terminate.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I25285f7ece5c0675864489bbe1345fa8e7afa70c
|