Hi Nenko,
Volatile is not currently supported, however standard synchronization should work. Whilst you do indeed see a commented out block of the form
//synchronized(my_obj)
in the converting C++ code, this is simply preserved for informational purposes. You should also see a line or so later something of the form:
MS_START_SYNC_LOCK(my_obj)
This does result in synchronisation.
Please note though that it’s best not to drip-feed information into the UI in small changes - a number of computational calculations must be performed each time the general UI layout is changed. Whilst changing this repeatedly should work, you may notice a performance degradation as a side effect if done too frequently. Instead, it might be better to display a ‘progress’ animation to the user to show data is being retrieved from a server / updated on the device, and then update the UI in one block when ready.
Regards,
Nick.
#webMethods#webMethods-General#mobile#Integration-Server-and-ESB