[crac] RFR: Put restored Java process on foreground instead of restorewait [v3]

Radim Vansa rvansa at openjdk.org
Thu Dec 14 13:10:15 UTC 2023


On Thu, 16 Nov 2023 10:26:35 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

>> Solves a scenario where we restore the process in background, `fg` it and then try to Ctrl+C interrupt it. 
>> 
>> The usefulness of this actually depends on https://github.com/CRaC/criu/pull/14
>> 
>> `criuengine` restorewait does not have tty on stdin/stdout/stderr, though one FD is open to tty; we have to find it.
>
> Radim Vansa has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Merge branch 'crac' into restorewait_fix_fg
>  - Break after first TTY found
>  - Put restored Java process on foreground instead of restorewait

@AntonKozlov please review this and https://github.com/CRaC/criu/pull/14

-------------

PR Comment: https://git.openjdk.org/crac/pull/133#issuecomment-1855821253


More information about the crac-dev mailing list