AudioManager  7.6.6
Native Application Runtime Environment
Obsolete class!

magic class that does the serialization of functions calls The constructor must be called within the main threadcontext, after that using the overloaded template function call will serialize all calls and call them within the main thread context. More...

Namespaces

 am::V1
 

Detailed Description

magic class that does the serialization of functions calls The constructor must be called within the main threadcontext, after that using the overloaded template function call will serialize all calls and call them within the main thread context.


More details can be found here: Utilizing The Mainloop as Threadsafe Call Method

Warning
asynchronous calls may be used in the mainthread context, but if you want to use synchronous calls make sure that you use one instance of this class per thread otherwise you could be lost in never returning calls.
Examples of the usage can be found in IAmCommandReceiverShadow of the ControlPlugin or IAmRoutingReceiverShadow of the PluginRoutingInterfaceAsync.