-
Notifications
You must be signed in to change notification settings - Fork 27
Add shutdown_socket()
function for follow up of #505
#506
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
0af50a5
Add shutdown_socket()
Jakio815 e5129c5
Use shutdown_socket() in rti_remote.c and federate.c
Jakio815 1b00ed3
Fix comments.
Jakio815 de2fbde
Fix port type && change to print_log on shutdown failures && Refactor…
Jakio815 9ea9f1d
Refactor close_outbound_socket().
Jakio815 d9a67a2
Merge branch 'refactor-only-comm-type' into shutdown
Jakio815 996896c
Add comment to shutdown_socket function.
Jakio815 e3b0ea1
Add commnets.
Jakio815 30a9446
Properly replace close() to shutdown_socket()
Jakio815 276d7b4
Minor fix.
Jakio815 93adf2e
Minor fix.
Jakio815 d27c743
Properly close federate's socket connected to the RTI.
Jakio815 ef3345b
Minor fix.
Jakio815 311205d
Merge branch 'main' of github.com:lf-lang/reactor-c into shutdown
Jakio815 c0d59db
Fix merge error.
Jakio815 96b146a
Fix rti_socket check.
Jakio815 e93f266
Add socket == -1 checking.
Jakio815 0f89b4c
Remove returning -1 on shutdown fail.
Jakio815 aa6fe33
Merge branch 'shutdown' of github.com:lf-lang/reactor-c into shutdown
Jakio815 0c7be7f
Merge branch 'main' of github.com:lf-lang/reactor-c into shutdown
Jakio815 62354ab
Formatting.
Jakio815 6b8bd91
Merge branch 'main' of github.com:lf-lang/reactor-c into shutdown
Jakio815 1edd1e3
Fix comments.
Jakio815 8334783
Fix to return -1 on failure of tagged_message from federate.
Jakio815 048a5b3
Fix missing comment.
Jakio815 5d34858
Revert close_inbound_socket to read false.
Jakio815 7e7d912
Merge branch 'main' of github.com:lf-lang/reactor-c into shutdown
Jakio815 2759ae1
Merge branch 'main' of github.com:lf-lang/reactor-c into shutdown
Jakio815 7f0ad69
Merge branch 'shutdown' of github.com:lf-lang/reactor-c into shutdown
Jakio815 89f7b91
Merge branch 'main' into shutdown
edwardalee c8dbb99
Add shutdown mutex.
Jakio815 4bf70ac
Add ref.
Jakio815 dbbc22c
Fix socket_mutex to inbound socket_mutex.
Jakio815 bf79fe9
Add return before goto.
Jakio815 618989d
Minor fix on descriptions.
Jakio815 d576728
Fix to only use shutdown_mutex internally in socket_common.c, and cre…
Jakio815 72682d6
Remove some unnecessary mutex locks from RTI and federate.
Jakio815 a9b9de5
Minor fix.
Jakio815 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
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.
Uh oh!
There was an error while loading. Please reload this page.