Skip to content
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

prim_tty: Use os:signal/2 to handle SIGCONT and SIGWINCH #8939

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Oct 16, 2024

  1. prim_tty: Use os:signal/2 to handle SIGCONT and SIGWINCH

    [Why]
    Support for SIGCONT and SIGWINCH was added in previous commit to allow
    any Erlang application to react to them. Unfortunately, setting handlers
    for these two signals broke `prim_tty` which installed its own handlers
    in `prim_tty_nif.c`.
    
    [How]
    This patch changes `prim_tty` to use `os:signal/2` along with its own
    gen_event callbacu module to handle the two signals from the Erlang
    code, like any other Erlang application.
    
    The C code was removed because it is now unused.
    dumbbell committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    92b6416 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc90f45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f32ba53 View commit details
    Browse the repository at this point in the history
  4. Update primary bootstrap

    garazdawi authored and dumbbell committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7e7e588 View commit details
    Browse the repository at this point in the history