Use std::jthread

This commit is contained in:
Robbert van der Helm
2020-06-20 16:16:12 +02:00
parent f5f6f04016
commit 61cde0bd43
8 changed files with 23 additions and 54 deletions
+2 -2
View File
@@ -45,8 +45,8 @@
* converting stateless lambdas to this format, but clang (as used for IDE
* tooling) does not.
*
* @note This should be used instead of `std::thread` whenever the thread
* directly calls third party library code, i.e. `LoadLibrary()`,
* @note This should be used instead of `std::thread` or `std::jthread` whenever
* the thread directly calls third party library code, i.e. `LoadLibrary()`,
* `FreeLibrary()`, the plugin's entry point, or any of the `AEffect::*()`
* functions.
*/