Semaphore.get_lockable() is a member function now, however, it's not a standard feature defined by C++ committee, but my domain feature for the convenience. Therefore, it would better to move the Semaphore.get_lockable() method from member to static.
Semaphore.get_lockable()
is a member function now, however, it's not a standard feature defined by C++ committee, but my domain feature for the convenience. Therefore, it would better to move theSemaphore.get_lockable()
method from member to static.