Changes between Version 5 and Version 6 of PTVS_Impl


Ignore:
Timestamp:
Jan 13, 2010, 11:17:41 PM (14 years ago)
Author:
sinziana.mazilu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PTVS_Impl

    v5 v6  
    3939
    4040A thread-pool with executors is created:
    41           public ExecutorService executor[];
     41               '' public ExecutorService executor[];''
     42
     43Each intersection will be assigned to a single executor (each executor will be a single thread):
     44               '' numThreads=intersectii.size();
     45                               
     46                executor=new ExecutorService[numThreads];
     47               
     48                for(int i=0;i<numThreads;i++){
     49                        executor[i] = Executors.newFixedThreadPool(1);
     50                }''