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
std::thread
Moderator: uasdkcpp
- Support Team
- Hero Member
- Posts: 3071
- Joined: 18 Mar 2011, 15:09
Re: std::thread
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.
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.
Best regards
Unified Automation Support Team
Unified Automation Support Team