Changes between Version 4 and Version 5 of PTVS_Impl


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

--

Legend:

Unmodified
Added
Removed
Modified
  • PTVS_Impl

    v4 v5  
    3232
    3333We have a vector of threads and the index of the closest intersection becomes the index of the processing thread. The thread calls the playEvent() method like the main thread did before. 
     34
     35
     36== Final implementation ==
     37
     38We chose to implement the best idea from those 3: a work-pool for each intersection.
     39
     40A thread-pool with executors is created:
     41          public ExecutorService executor[];