Changeset 3240 for code/branches/netp6/src/core/ThreadPool.h
- Timestamp:
- Jun 28, 2009, 3:04:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp6/src/core/ThreadPool.h
r3231 r3240 33 33 34 34 #include <vector> 35 #include "Thread.h"36 35 37 36 namespace orxonox … … 47 46 unsigned int setNrOfThreads( unsigned int nr ); 48 47 49 bool passFunction( Functor* functor, bool addThread=false );48 bool passFunction( Executor* executor, bool addThread=false ); 50 49 void synchronise(); 51 50 52 51 private: 53 std::vector<Thread > threadPool_;52 std::vector<Thread*> threadPool_; 54 53 55 54 };
Note: See TracChangeset
for help on using the changeset viewer.