mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Modified JobManager to change state from waiting to enabled on a job request.
This commit is contained in:
parent
b8a1c86199
commit
726c615400
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2004-06-21 Bogdan Gheorghe
|
||||||
|
Modified JobManager to change state from waiting to enabled on a job request.
|
||||||
|
|
||||||
2004-06-11 Andrew Niefer
|
2004-06-11 Andrew Niefer
|
||||||
fix bugs 43063 & 43498 - better handling of spaces around wild cards in search pattern
|
fix bugs 43063 & 43498 - better handling of spaces around wild cards in search pattern
|
||||||
|
|
||||||
|
|
|
@ -405,6 +405,11 @@ public abstract class JobManager implements Runnable {
|
||||||
}
|
}
|
||||||
awaitingJobs[jobEnd] = job;
|
awaitingJobs[jobEnd] = job;
|
||||||
|
|
||||||
|
if (enabledState() ==WAITING){
|
||||||
|
//Put back into enabled state
|
||||||
|
enable();
|
||||||
|
}
|
||||||
|
|
||||||
if( enabledState() == ENABLED ){
|
if( enabledState() == ENABLED ){
|
||||||
if( indexJob == null ){
|
if( indexJob == null ){
|
||||||
indexJob = new IndexingJob( thread, this );
|
indexJob = new IndexingJob( thread, this );
|
||||||
|
|
Loading…
Add table
Reference in a new issue