Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320209

Summary: Create new thread anytime an item is added to the process Queue
Product: [Eclipse Project] Platform Reporter: Ray Carrender <mrsmiley32>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: enhancement    
Priority: P3 CC: remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ray Carrender CLA 2010-07-19 01:00:53 EDT
Build Identifier: 20100218-1602

This is a request, eclipse needs to create a separate thread for the processes. If the reason it's single threaded is too ensure things loaded in a project are done in a particular order then create a new thread per component. I'm trying to checkout but I'd like to clean and build a project while checking out. This has essentially stopped me from being able to test. This isn't the only case also, I'd be happy to add the fix so long as I can grab the code and check it in and know my efforts wouldn't be wasted.

Reproducible: Always

Steps to Reproduce:
1. Start a long process
2. Try to do something else that's added to the process queue
3. ????
4. Profit?
Comment 1 Remy Suen CLA 2010-07-19 07:29:23 EDT
(In reply to comment #0)
> This is a request, eclipse needs to create a separate thread for the processes.

This is a case-by-case basis thing. Only the action that is being performed would know whether it should be blocking any other jobs.

> If the reason it's single threaded is too ensure things loaded in a project are
> done in a particular order then create a new thread per component. I'm trying
> to checkout but I'd like to clean and build a project while checking out. This
> has essentially stopped me from being able to test.

What version control system (plug-in) are you using?
Comment 2 Ray Carrender CLA 2010-07-19 10:55:02 EDT
Subclipse is the plug-in, so wait let me get this straight the plugin decides whether that is blocking or not?
Comment 3 Remy Suen CLA 2010-07-19 11:00:04 EDT
(In reply to comment #2)
> Subclipse is the plug-in

If their checkouts are doing a full block you need to file a bug with them at their website.

> so wait let me get this straight the plugin decides
> whether that is blocking or not?

That's the gist of it. Anyone can spawn a bunch of jobs to do "stuff". What that "stuff" is, well, only whoever spawned it (the plug-in) would know. If I'm doing a full build of the entire workspace then yeah I need to lock the whole workspace. If I'm just parsing one file then I probably don't need to lock the entire workspace but just lock the one file, right?

It is up to the code spawning the job (the plug-in) to decide how "wide" their lock needs to be. Am I making any sense here?
Comment 4 Ray Carrender CLA 2010-07-19 11:27:47 EDT
Perfect sense, thanks!