Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » eclipse jobs(Why eclipse "delete" and File "new" will block the UI while waiting, wheraes other jobs which I created won't block but will be in waiting state when I acquire lock on workspace )
eclipse jobs [message #1517026] Fri, 19 December 2014 07:48
Yeshaswini HS is currently offline Yeshaswini HSFriend
Messages: 7
Registered: October 2014
Junior Member
I will schedule some job first for file creation under the project. (Refering "On the Job: The Eclipse Jobs API" article example.)
Scheduling rule used is job.setRule(ResourcesPlugin.getWorkspace().getRoot()).This means job will acquire a lock on workspace root itself. And any other operations which I perform like "delete" or File menu "new" project creation will go to waiting state.
But why eclipse "delete" or File "new" operation will block my entire UI, wheraes the jobs which I created will only goes to waiting state when I acquire lock on workspace root?
Can I able to implement my own "delete" operation where like any other jobs will go to waiting state but not block the UI when some other job is already running and given the same scheduling rule?
Previous Topic:[Photran] Debugging fortran program which uses openmp
Next Topic:Trying to use eclipse to debug a .exe program
Goto Forum:
  


Current Time: Thu Apr 25 01:01:12 GMT 2024

Powered by FUDForum. Page generated in 0.07812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top