2016-12-16 04:55 PM - last edited on 2023-07-12 08:59 PM by Doreena Deng
2016-12-30 09:57 AM
2017-01-04 11:31 AM
mar_kq wrote:Yes, because for example the main thread could be in the middle of a database transaction, where the internal state of the application is not consistent.
Thank you all for the replies, the Problem is for the Moment resolved. Do you consider this mechanism unadvisable even though the WPF Form will call exclusively read-only functions?
Is there some kind of Roadmap for further developing concurrency?
2017-01-04 12:42 PM
2017-01-06 11:06 AM
Oleg wrote:The reason why we chose this mechanism because it's already known for the API developers. Otherwise how would you implement data pass through from that thread to AC, and then back to the add-on from the main thread?
Hi Akos,
ACAPI_Command_CallFromEventLoop works but not so easy to use.
May be better to add one more thread safe function for easy using
Something like:
ACAPI_Register_CallFromEventLoop( CallbackProc* )
It will call the callback from the event loop