lemon/bits/windows.h
changeset 1136 20f95cd51aba
parent 1092 dceba191c00d
equal deleted inserted replaced
3:060436211bbe 4:8ff6f01fa5dc
    17  */
    17  */
    18 
    18 
    19 #ifndef LEMON_BITS_WINDOWS_H
    19 #ifndef LEMON_BITS_WINDOWS_H
    20 #define LEMON_BITS_WINDOWS_H
    20 #define LEMON_BITS_WINDOWS_H
    21 
    21 
       
    22 #include <lemon/config.h>
    22 #include <string>
    23 #include <string>
    23 
    24 
    24 namespace lemon {
    25 namespace lemon {
    25   namespace bits {
    26   namespace bits {
    26     void getWinProcTimes(double &rtime,
    27     void getWinProcTimes(double &rtime,
    32     class WinLock {
    33     class WinLock {
    33     public:
    34     public:
    34       WinLock();
    35       WinLock();
    35       ~WinLock();
    36       ~WinLock();
    36       void lock();
    37       void lock();
    37       void unlock();
    38       void unlock();\
    38     private:
    39     private:
    39       void *_repr;
    40       void *_repr;
    40     };
    41     };
    41   }
    42   }
    42 }
    43 }