class Core::Threads::Semaphore

Overview

Inter-process synchronization object. More…

#include <coreinterprocess.h>

class Semaphore
{
public:
    // methods

    bool create(CStringPtr name);
    bool open(CStringPtr name);
    void close();
    void lock();
    void unlock();
};

Detailed Documentation

Inter-process synchronization object.

Contrary to simple user-mode locks it has an underlying kernel object. <>