Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5190 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I wanted to run an ExecuteSQL in a background thread because it takes a while to run and freezes up the UI. Is there any issues if I just run it in a new thread? (eg. new Thread(){run(){fmpro.executeSql("UPDATE...");}}.run();

Is the fmpro object shared? and is it threadsafe if it is shared?, or should I try and synchronise on a static field?

Cheers, Ryan

This topic is 5190 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.