Changeset 426 for experimental/Threading


Ignore:
Timestamp:
Oct 21, 2012, 12:53:09 AM (12 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
experimental/Threading/Threading
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experimental/Threading/Threading/SimHost.cpp

    r425 r426  
    7777        }
    7878
    79         for(int i=0;i<100000000;i++)
    80                 OSG_ALWAYS<<"";
     79        /*for(int i=0;i<100000000;i++)
     80                OSG_ALWAYS<<"";*/
    8181
    8282}
  • experimental/Threading/Threading/ThreadedWorker.h

    r425 r426  
    1717 * Inside the workerthread's functor, you can set the functor parameter done=true to shutdown the thread after the current execution.
    1818 *
     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.
    1921 *
    2022 * @author Torben Dannhauer
Note: See TracChangeset for help on using the changeset viewer.