Changeset 426
- Timestamp:
- Oct 21, 2012, 12:53:09 AM (12 years ago)
- Location:
- experimental/Threading/Threading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/Threading/Threading/SimHost.cpp
r425 r426 77 77 } 78 78 79 for(int i=0;i<100000000;i++)80 OSG_ALWAYS<<""; 79 /*for(int i=0;i<100000000;i++) 80 OSG_ALWAYS<<"";*/ 81 81 82 82 } -
experimental/Threading/Threading/ThreadedWorker.h
r425 r426 17 17 * Inside the workerthread's functor, you can set the functor parameter done=true to shutdown the thread after the current execution. 18 18 * 19 * Use osg::ref_ptr pointer to manage the thread object. 20 * This causes the threadobjects to get deleted finally and hence the threads aret canceled formally -> The app won't finish until all threads have finished their work. 19 21 * 20 22 * @author Torben Dannhauer
Note: See TracChangeset
for help on using the changeset viewer.