Can I use thread that is cross platform in plugin?
Hi, everyone!.
I have some problem in After Effect SDK.
I'd like to use a thread that is cross platform in plugin.
Is it possible?
If so, How can I use a thread in plugin?
Thanks.
Hi, everyone!.
I have some problem in After Effect SDK.
I'd like to use a thread that is cross platform in plugin.
Is it possible?
If so, How can I use a thread in plugin?
Thanks.
I am not sure I understand your question, to be honest. What exactly are you trying to achieve?
If you are using a C++11 compliant compiler, you can use the cross-platform "std::thread" class in your plugin. Alternatively you could use the "boost::thread" class from the 3rd party boost library or others like native threads (CWinThread on Windows for example) or the pthreads library.
In all cases usage in a plugin is not that much different from using threads in a standalone application and there are lots of example sources and tutorials on the net.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.