B4J Question jServer call a sub in a backgroundworker

DonManfred

Expert
Licensed User
Longtime User
Is it possible to start a sub in the backgroundworker?

What if the backgroundworker crashes? Can it be possible to restart it from the jserver-handler?
 

OliverA

Expert
Licensed User
Longtime User
Is it possible to start a sub in the backgroundworker?
Yes. I do this to notify "Main" that the background worker has started, and I submit a "Me" object so that I can call functions within the background worker

What if the backgroundworker crashes? Can it be possible to restart it from the jserver-handler?
No. Once a backgrounder worker crashes, it's done.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
and I submit a "Me" object so that I can call functions within the background worker
I go a similar route but the principle is the same i guess.
No. Once a backgrounder worker crashes, it's done.
That´s too bad.
Thank you for your answer
 
Upvote 0
Top