samchon / tstl

TypeScript-STL (Standard Template Library, migrated from C++)
MIT License
602 stars 49 forks source link

Semaphore.get_lockable() needs to be static method #69

Closed samchon closed 4 years ago

samchon commented 4 years ago

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.