-
Notifications
You must be signed in to change notification settings - Fork 2
Move message queue to Consumer #87
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
Draft
jakobod
wants to merge
28
commits into
master
Choose a base branch
from
topic/message-queue
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b60f85b
Bump CAF tag
Neverlord b702230
Add message_oriented_layer_ptr
jakobod 16b709f
WIP: Refactoring BASP
jakobod 16ba14f
WIP: message rework of BASP
jakobod ec4d770
Add convenience function for writing messages
jakobod 6a5ab93
Complete Interfaces of BASP and length_prefixing
jakobod 8c1ec37
Fix length prefixing
jakobod e090e0a
Move message queue to consumer
jakobod e6245bf
Fix prefix_framing test
jakobod b6dd051
Fix BASP tests
jakobod 47c1f07
WIP: Fix full-setup test
jakobod b319da5
Implement proper event handling in BASP
jakobod 9ee1ee8
Fix ping_pong test
jakobod 5b638bc
Fix debug build and actor_shell test
jakobod 7f85a0c
Fix example/web-socket after rebase
jakobod 6cdded1
Check other TAG version
jakobod 12437c5
Add mutex to application
jakobod b8adfe4
Simplify BASP state tracking
jakobod c9c4161
Wait for fulfilled handshake in BASP
jakobod 4016a88
Use correct config value in basp
jakobod d58e004
Cleanup
jakobod 8c592d2
Add missing functions after rebase
jakobod ab2eb4d
Remove basp specifics from socket_manager
jakobod 417cea0
Remove endpoint_manager(impl)
jakobod f68d37b
Reenable worker and message-queue tests
jakobod 228826c
Remove unnecessary resolve functions
jakobod 784c96e
Remove consumer interface
jakobod a51fef6
Honor can_send_more result in application
jakobod File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very serious shift in semantics. Previously, the proxy participated in shared ownership of the endpoint manager. Now, it only keeps a raw pointer to the BASP app directly. How is CAF making sure that the proxy never accesses a pointer past the lifetime of the pointed-to object now?
I couldn't find any comments going in to detail on this, and
actor_proxy_impl::enqueuecalls into the object without any safeguarding. Furthermore, what is the rationale behind keeping this proxy implementation in the public API when it's clearly bound to BASP?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't. The proxy would have to hold a
socket_manager_ptrto ensure the lifetime of the BASP app, which is definitely possible. I'll add that.