-
-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using util::function for thread function wrappers
Currently, the non-plain versions of the register_work/register_thread functions make use of util::function. This leads due unnecessary dynamic memory allocation since the potential for util::function using the small object optimization is limited.
- Loading branch information
Thomas Heller
committed
Jan 19, 2018
1 parent
57730a9
commit 19414ab
Showing
2 changed files
with
115 additions
and
174 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