10/29/15 Pre-Class Work

    This is a required question
    This is a required question

    Signals

    This is a required question
    This is a required question
    This is a required question

    Code sample A

    sigset_t set; sigemptyset(&set); sigaddset(&set, SIGHUP); sigprocmask(SIG_BLOCK, &set, NULL); sigdelset(&set, SIGHUP); sigaddset(&set, SIGCONT); sigprocmask(SIG_BLOCK, &set, NULL);
    This is a required question

    Code sample B

    sigset_t set; sigemptyset(&set); sigaddset(&set, SIGHUP); sigprocmask(SIG_BLOCK, &set, NULL); sigdelset(&set, SIGHUP); sigaddset(&set, SIGCONT); sigprocmask(SIG_MASK, &set, NULL);
    This is a required question
    This is a required question

    Blocking and Polling

    This is a required question
    This is a required question
    This is a required question
    This is a required question