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

Enclave connections and enclave coordination #44

Merged
merged 42 commits into from
May 12, 2023
Merged

Conversation

cmnrd
Copy link
Contributor

@cmnrd cmnrd commented Mar 18, 2023

This adds 3 new connection types EnclaveConnection, DelayedEnclaveConnection, and PhysicalEnclaveConnection that facilitate the communication between scheduling enclaves. Additionally, this implements a coordination mechanism that allows individual enclaves to decide when it is safe to advance their logical time. For this, this PR introduces time barriers. They support a protocol where one party may try to acquire a tag and another party can release the tag. An acquire operation blocks until a tag greater or equal to the acquired one was released. This same mechanism can also be utilized for physical actions (here the physical clock continuously releases). Hence the mechanism implemented here unifies physical actions and inputs received from other enclaves (or later federates).

@cmnrd cmnrd changed the title Add support for enclave connections and enclave coordination Enclave connections and enclave coordination May 10, 2023
@cmnrd cmnrd marked this pull request as ready for review May 10, 2023 12:50
@cmnrd cmnrd merged commit 84f527e into master May 12, 2023
7 of 8 checks passed
@cmnrd cmnrd deleted the enclave-connections branch May 12, 2023 12:02
@cmnrd cmnrd added the feature New feature label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant