forked from advancedtelematic/aktualizr
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite ApiQueue as an explicit implementation
This replaces an implementation based on a mix of std::bind and std::packaged_task with a concrete implementation. Advantages - Easier to add extra metadata to commands in the future - Less magic Disadvantages - More lines of code - Less obvious to those familiar with std::bind and friends in the standard library. Signed-off-by: Phil Wise <[email protected]>
- Loading branch information
Showing
2 changed files
with
105 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters