more primitives #55
reece
commented 2023-04-26 10:27:45 +00:00
Owner
```
InitOnce : IWaitable
virtual IWaitable *ToLock()
/*virtual*/ inline IWaitable *ToReadyWaitable() { return this };
virtual void TryInit(AuFunction<void()> callback) = 0;
virtual bool TrySet() = 0;
virtual bool IsReady() = 0;
```
```
ThreadLocalGuard
virtual void CheckOrThrow() = 0;
virtual bool IsCurrentThread() = 0;
virtual void UpdateThread() = 0;
```
reece
commented 2023-06-08 19:56:27 +00:00
Author
Owner
virtual bool TryInit(AuFunction<void()> callback) = 0;
use case came about
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AuroraSupport/AuroraRuntime#55
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?