< prev index next >

src/os/posix/vm/os_posix.hpp

Print this page

        

*** 87,92 **** --- 87,100 ---- private: void restore(); sigjmp_buf _jmpbuf; }; + class PosixSemaphore : public Semaphore { + public: + PosixSemaphore(uint value = 0) : Semaphore(value) {} + + bool trywait(); + bool timedwait(struct timespec ts); + }; + #endif // OS_POSIX_VM_OS_POSIX_HPP
< prev index next >