[*] ew. the old iwaitable is in the README

This commit is contained in:
Reece Wilson 2023-09-17 19:02:38 +01:00
parent a96788623f
commit 7a5d1cd396

View File

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