Page 1 of 1

std::thread

Posted: 04 Apr 2023, 12:55
by enkubat
Hello,

I am a beginner with this C++ SDK and have a basic question: Is it ok to create SDK objects and call SDK methods from std::thread or it is necessary to use UaThread from thread pool?

Best regards,
Ela

Re: std::thread

Posted: 26 Jul 2023, 15:27
by Support Team
Hello Ela,

you can use std::thread() as long as you don't confuse it with UaThread methods. By the way, UaThread is not a ThreadPool implementation. It is only a platform layer abstraction for a single thread.