Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2009, 8:53:34 PM (15 years ago)
Author:
scheusso
Message:

added 2 classes:
Thread: implementation of a worker thread (you can pass (threadsafe) functions to it by wrapping them into a functor)
ThreadPool: pool of Threads. dispatches work (functors) to a thread with no work and coordinates the finishing of all threads (ideal for parallel work and synchronisation of the threads afterwards)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp6/src/util/UtilPrereqs.h

    r3196 r3226  
    6060// Forward declarations
    6161//-----------------------------------------------------------------------
     62namespace boost
     63{
     64    class thread;
     65    class mutex;
     66}
     67
    6268namespace Ogre
    6369{
     
    95101    class SignalHandler;
    96102    class SubString;
     103    class Thread;
     104    class ThreadPool;
    97105}
    98106
Note: See TracChangeset for help on using the changeset viewer.