COIN-OR::LEMON - Graph Library

Changeset 1131:43a91b33f374 in lemon for lemon/bits/windows.h


Ignore:
Timestamp:
01/29/12 11:28:41 (8 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Thread safe map construction and destruction (#223)

It currently support pthread and windows threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/windows.h

    r576 r1131  
    2929    std::string getWinFormattedDate();
    3030    int getWinRndSeed();
     31
     32    class WinLock {
     33    public:
     34      WinLock();
     35      ~WinLock();
     36      void lock();
     37      void unlock();
     38    private:
     39      void *_repr;
     40    };
    3141  }
    3242}
Note: See TracChangeset for help on using the changeset viewer.