Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static mutex transactions #13

Merged
merged 3 commits into from
Jan 20, 2015
Merged

Static mutex transactions #13

merged 3 commits into from
Jan 20, 2015

Conversation

milibopp
Copy link
Owner

This implements a global locking mechanism to avoid overlapping of event transactions.

Achieves step 1 of issue #6.

A commit means to acquire a global static lock, execute the code, and release
the lock again. This is not particularly concurrent but ensures transaction
atomicity for now.
It makes sense for the primitives to live in the root module and the internals
to be direct submodules. This also allows internals to use private items of the
primitive types, which is relevant for the `switch` implementation.
milibopp added a commit that referenced this pull request Jan 20, 2015
@milibopp milibopp merged commit 8715165 into master Jan 20, 2015
@milibopp milibopp deleted the static-mutex-transaction branch January 20, 2015 20:07
milibopp added a commit that referenced this pull request Jun 10, 2023
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.

None yet

1 participant