开发者

Eclipse job blocks access to workspace

开发者 https://www.devze.com 2023-03-14 11:29 出处:网络
I have a long running operation that is run as a Job. Problem is, as long as the job runs at the background , I\'m denied of access to my workspace. (a GMF diagram, if relevant). ( Under the progress

I have a long running operation that is run as a Job. Problem is, as long as the job runs at the background , I'm denied of access to my workspace. (a GMF diagram, if relevant). ( Under the progress view, I can see a pending Job 开发者_如何学Gosaying "waiting user operation")

Is there any flag or priority that needs to be changed in order to make the job a non-blocking one?

Thanks!


It is the developer that decides whether the job is blocking or not. Usually based on whether the internal structures are in a sane state during the execution of the job, etc.

There are no way the stop a job in the general case. Even if you can cancel the job, it is still the developer of the job that decides if and when to check for the cancel state...

0

精彩评论

暂无评论...
验证码 换一张
取 消