Skip to content

Conversation

@xthexder
Copy link
Owner

This new type allows a bit more flexibility for passing locks around with optional permissions:

std::optional<Lock<ECS, RuntimePermissions...>> DynamicLock<ECS, StaticPermissions...>::TryLock<RuntimePermissions...>();

Locks also now provide a global transactionId that can be used for synchronization with other code such as application like event queues.

@xthexder xthexder merged commit 6f759a9 into master Mar 25, 2023
@xthexder xthexder deleted the dynamic_locks branch March 25, 2023 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants