Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with a Job blocking save and build operations
Problem with a Job blocking save and build operations [message #997638] Tue, 08 January 2013 14:22
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 156
Registered: July 2009
Senior Member

When I run the following job it blocks operations like save and build.
Since it is a long running process that does not change workspace I would like to avoid this block.

I thought that this operation ( no gui) would run in the background without blocking other operations since it has nothing to do with build project and save file.

Any ideas?



Job job = new Job("My job") { //$NON-NLS-1$

				protected IStatus run(IProgressMonitor monitor) {
					try {
					} finally {
						synchronized (lock) {
							refresh = false;
					return Status.OK_STATUS;

Previous Topic:IOConsole: LaunchShortcut and normal Launch differences
Next Topic:"Upgrade" a Helios based Product + IDE to 3.8.2 Juno SR2?
Goto Forum:

Current Time: Fri Apr 20 07:15:36 GMT 2018

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

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