Changeset 20:38521bf10e24 in xplcommon for src/xplcommon/win32/Thread.h


Ignore:
Timestamp:
12/30/12 16:45:26 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented the Waiter and the WaitableEvent classes for Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/win32/Thread.h

    r3 r20  
    4545class Thread
    4646{
     47public:
     48    /**
     49     * Sleep for the given number of milliseconds.
     50     */
     51    static void sleep(unsigned millis);
     52
    4753private:
    4854    /**
     
    8490//------------------------------------------------------------------------------
    8591
     92inline void Thread::sleep(unsigned millis)
     93{
     94    Sleep(millis);
     95}
     96
     97//------------------------------------------------------------------------------
     98
    8699inline Thread::~Thread()
    87100{
Note: See TracChangeset for help on using the changeset viewer.