Better clarify the use cases for Win32Thread

This commit is contained in:
Robbert van der Helm
2020-05-29 11:19:38 +02:00
parent f8d7421a8b
commit 4dcc8fd97f
+5
View File
@@ -44,6 +44,11 @@
* expects a function pointer of type `LPTHREAD_START_ROUTINE`. GCC supports
* 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()`,
* `FreeLibrary()`, the plugin's entry point, or any of the `AEffect::*()`
* functions.
*/
class Win32Thread {
public: