Skip to content

Conversation

@skaunov
Copy link
Member

@skaunov skaunov commented Nov 21, 2025

Am I correct these fields are excessive? Or were those added for a perspective of other lock scripts which will be using it?

If so, then I have the following also.

  • why to have all these until an alternative lock script starting to appear?
  • Is it better to have the standard one present in the core? Will the code for an alternative be added to the core too?
  • Do you think a developer of an alternative will be sticking to this struct or make their own?

@aszepieniec
Copy link
Contributor

I do not think there is a redundancy. There are three sources of nondeterminism. Depending on the application, you want to draw your nondeterminism from one source or the other because that makes the program more efficient.

@skaunov
Copy link
Member Author

skaunov commented Dec 12, 2025

Let me simplify/reformulate my questions: when these fields are (intended to be) used? (An use-case or an example would be perfect.)

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