Shutdown and termination sig handling#15
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
8f8421b to
999c8dd
Compare
|
Hi @ShoroukRamzy, I think the problem is that the crate |
Hi @armin-acn, I have opened this PR to add ctrlc to score crates eclipse-score/score-crates#15? |
|
Approved it. |
Thanks @armin-acn, I'll retest after the PR merge. |
|
Hi @ShoroukRamzy, would it be a problem for you, if the very first Release of FEO v0.5 (to be prepared until tomorrow the latest) would not include this PR? We can probably create a minor release update very soon, which could then include your changes. |
Hi @armin-acn, Yes, sure. We can do this. |
|
Hi @armin-acn, |
|
Hi Shorouk, you should not need to change the existing code, as it did pass the linter. But from your last commit it looks like you are already progressing. |
264e241 to
c2beeca
Compare
|
Hi @armin-acn, |
| copyright_checker( | ||
| name = "copyright", | ||
| srcs = [ | ||
| "src", |
There was a problem hiding this comment.
as src dir is empty after feo migration, I removed it. do I need to keep it?
There was a problem hiding this comment.
Which src dir do you mean? I guess it checks every src dir in the repository, but I don't know for sure how it works.
There was a problem hiding this comment.
https://github.com/eclipse-score/feo/tree/main/src this one I mean
There was a problem hiding this comment.
Ok, I don't think it's related to this directory only. Let's not change it in this commit as the change is unrelated.
examples/rust/mini-adas/Cargo.toml
Outdated
| default = ["com_iox2", "signalling_relayed_tcp"] | ||
| signalling_direct_mpsc = [] | ||
| signalling_direct_tcp = [] | ||
| signalling_direct_tcp = ["com_iox2"] |
There was a problem hiding this comment.
Thanks , you are right I added it during direct signalling testing but there is no need for it, I will remove it
feo/src/scheduler.rs
Outdated
| } | ||
| break id; | ||
| } | ||
| Some(Signal::TerminateAck(_)) => continue, // Ignore during normal operation |
There was a problem hiding this comment.
Why ignoring unexpected signal without logging?
There was a problem hiding this comment.
Thanks, I will add logging info
c2beeca to
c22bffd
Compare
c22bffd to
0363e7c
Compare
* Implement graceful shutdown and termination signalling * ctrlc is not built after rebasing * fixed ctrlc(score_crates) issue * use alloc and core libs instead of std whenever possible
Hi @armin-acn,
This is a continuation for this PR #12.
As per our discussion in the meeting this commit is not working after rebasing due to ctrlc issue.
Thank you for your support.