forked from kaldi-asr/kaldi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src] Assert empty workqueue on ThreadPoolLight destruction (kaldi-as…
…r#4568) Other minor tweaks: * Convert runtime asserts to static asserts in template. * Remove ThreadPoolLight::nworkers_ as it's equal to the .size() of the worker vector, and was used only once. * Replace pointer indirection with std::move and make ThreadPoolLightWorker::thread_ a direct class member. * Update to coding guidelines and IWYU.
- Loading branch information
Showing
1 changed file
with
43 additions
and
38 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