diff --git a/README.md b/README.md index 6f799a24..bc18dfcc 100644 --- a/README.md +++ b/README.md @@ -151,11 +151,14 @@ with nanosecond resolution absolute and relative yielding. ``` struct IWaitable { - virtual bool TryLock() = 0; - virtual void Lock(relativeTimeoutInMilliseconds) = 0; - virtual void Lock() = 0; - virtual void Unlock() = 0; -} + void Lock() + bool LockMS(AuUInt64 qwRelTimeoutInMs /* = 0, infinity - use TryLock to avoid sleeping */) + bool LockNS(AuUInt64 qwRelTimeoutInNs /* = 0, infinity - use TryLock to avoid sleeping */) + bool LockAbsMS(AuUInt64 qwAbsTimeoutInMs /* = 0, infinity*/) + bool LockAbsNS(AuUInt64 qwAbsTimeoutInNs /* = 0, infinity*/) + bool TryLock() + void Unlock() +}; ``` Included high performance primitives