-
Notifications
You must be signed in to change notification settings - Fork 51
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
Introduce Rc
owned management structs
#100
Milestone
Comments
This was referenced Jan 28, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Jan 28, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Jan 28, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Jan 28, 2024
elfenpiff
added a commit
that referenced
this issue
Jan 29, 2024
…tructs [#100] rc owned management structs
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 3, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 4, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 4, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 4, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 4, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 4, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 8, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 10, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 10, 2024
17 tasks
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
…rs; remove traits Subscribe and Payload
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
…rs; remove traits Subscribe and Payload
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 11, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 19, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 19, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 19, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 19, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 19, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 19, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
…rs; remove traits Subscribe and Payload
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
…rs; remove traits Subscribe and Payload
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
to elfenpiff/iceoryx2
that referenced
this issue
Feb 20, 2024
elfenpiff
added a commit
that referenced
this issue
Feb 20, 2024
…ime-arg [#100] pub sub without lifetime arg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief feature description
Currently, it is impossible to store a service with its corresponding ports and corresponding samples in a cache inside one struct due to the problems of Rust self referencing structs.
So something like:
cannot be realized. Every sample in the
sample_cache
holds a reference to thesubscriber
to release itself when going out of scope. Also, thesubscriber
holds a reference toservice
to remove it from the service when it goes out of scope.The solution is, that the underlying construct, that performs the task, is stored in an
Rc
and has a shared ownership. When this is done, the lifetime restrictions should be lifted.Introduce
Rc
and lift lifetime restrictionsConfig
Sample
SampleMut
Publisher
Subscriber
Notifier
Listener
Notify
,Listen
,Publish
,Subscribe
,Payload
,PayloadMut
& Update changelogThe text was updated successfully, but these errors were encountered: