You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider an API addition that allows a single block (or blocks) within a topology to indicate that that the topology execution should be complete. The existing Topology::waitInactive() call could exit immediately when this occurs - as opposed to waiting for the max idle time.
The primary use will be for a control block in a design to exit upon some error condition, forced graceful exit, or task completion. This could also be useful for some unit tests, but waiting for idle is still probably best for most situations.
Purposed API:
class Block
{
//intentional completion
void complete(void);
//complete with an exception
void complete(const std::exception_ptr &ex);
}
The text was updated successfully, but these errors were encountered:
Consider an API addition that allows a single block (or blocks) within a topology to indicate that that the topology execution should be complete. The existing Topology::waitInactive() call could exit immediately when this occurs - as opposed to waiting for the max idle time.
The primary use will be for a control block in a design to exit upon some error condition, forced graceful exit, or task completion. This could also be useful for some unit tests, but waiting for idle is still probably best for most situations.
Purposed API:
The text was updated successfully, but these errors were encountered: