Multiple threads?

Hi!

This might be a newbie type of question, don’t judge me too hard :)
We have multiple windows in our application. I clone a few forms and then bring them up in a new window.
My concern is that if some lengthy operation is running in one of them then the user cannot do anything except viewing other windows before that operation has finished.
In my particular scenario the time-consuming stuff runs in a global, not in the form itself. But it looks like it doesn’t really matter where the code is. Am I right?

Is there a way around it? Can I somehow have multiple threads running? (I’m guessing it’s about multithreading but I haven’t really worked with that before, so well… help! :D )

Cheers,
Maria

Each Servoy Client in single threaded.

If you have lengthy processes to run, you can offload them to another client, usually either a batchprocessor or a headless client.

Batch processors are in general more usefull for repetetive tasks or processing queues of tasks, whereas Headless Clients are in general used for one-offs.

Paul

pbakker:
Each Servoy Client in single threaded.

If you have lengthy processes to run, you can offload them to another client, usually either a batchprocessor or a headless client.

Batch processors are in general more usefull for repetetive tasks or processing queues of tasks, whereas Headless Clients are in general used for one-offs.

Paul

The “lengthy” process I’m talking about usually takes 2-4 seconds (some forms are fairly big, with lots of tabs and css’ed labels on them) but users might be impatient and start clicking on other forms expecting response and not having it.
I don’t think it’s possible to offload them :roll:

Cheers,
Maria

Yes Paul, that’s a good one from Maria,

Can you speed up the client Servoy form UI processing ? Some secret app.server form acceleration check box ?

I can guess the answer…

Regards,