Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SIGINTBlocked (0.14 sec)

  1. src/runtime/testdata/testprogcgo/exec.go

    static sigset_t mask;
    
    static void init(void) __attribute__ ((constructor));
    
    static void init() {
    	sigemptyset(&mask);
    	pthread_sigmask(SIG_SETMASK, NULL, &mask);
    }
    
    int SIGINTBlocked() {
    	return sigismember(&mask, SIGINT);
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"io/fs"
    	"os"
    	"os/exec"
    	"os/signal"
    	"sync"
    	"syscall"
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top