-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce free_event_queues() to free any existing event queues (#2180)
* Add .vscode to .gitignore * Turn TQItemPool and SelfEventPool from macro to tempalte MutexPool * Trying to clear TQItemPool * Fix assert error * Clearing TQItemPool and SelfEventPool * Make clang-format happy? * drop declarePool/implementPool from .clang-format.changes * Create new API to clear event queue * Initialize MutexPool members with brace initialization * Small cleanup * Introduce freeing of the queue pools * Trying to clear TQItem pool as well * Improved test related to poolshrink() and free_event_queues() * Added a bit of documentation related to freeing the SelfEventQueue and TQItemQueue * Make formatting happy * Fix test * Add documention for poolshrink() and free_event_queues() --------- Co-authored-by: Ioannis Magkanaris <ioannis.magkanaris@epfl.ch> Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch>
- Loading branch information
1 parent
d2a76ab
commit c829a5f
Showing
16 changed files
with
300 additions
and
170 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ virtualenv | |
*.lo | ||
docs/_build | ||
docs/_generated | ||
.vscode |
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
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
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
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
Oops, something went wrong.