- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ResetSIGIO (0.33 sec)
-
src/cmd/cgo/internal/testcshared/testdata/main5.c
if (verbose) { fprintf(stderr, "calling dlsym\n"); } resetSIGIO = (void (*)(void))dlsym(handle, "ResetSIGIO"); if (resetSIGIO == NULL) { fprintf(stderr, "%s\n", dlerror()); exit(EXIT_FAILURE); } if (verbose) { fprintf(stderr, "calling ResetSIGIO\n"); } resetSIGIO(); sawSIGIO = (bool (*)(void))dlsym(handle, "SawSIGIO"); if (sawSIGIO == NULL) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/libgo5/libgo5.go
// CatchSIGIO starts catching SIGIO signals. // //export CatchSIGIO func CatchSIGIO() { sigioChan = make(chan os.Signal, 1) signal.Notify(sigioChan, syscall.SIGIO) } // ResetSIGIO stops catching SIGIO signals. // //export ResetSIGIO func ResetSIGIO() { signal.Reset(syscall.SIGIO) } // AwaitSIGIO blocks indefinitely until a SIGIO is reported. // //export AwaitSIGIO func AwaitSIGIO() { <-sigioChan }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 986 bytes - Viewed (0)