Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for signalStack (0.11 sec)

  1. src/cmd/cgo/internal/test/sigaltstack.go

    #define CSIGSTKSZ 0x4000
    #else
    #define CSIGSTKSZ SIGSTKSZ
    #endif
    
    static stack_t oss;
    static char signalStack[CSIGSTKSZ];
    
    static void changeSignalStack(void) {
    	stack_t ss;
    	memset(&ss, 0, sizeof ss);
    	ss.ss_sp = signalStack;
    	ss.ss_flags = 0;
    	ss.ss_size = CSIGSTKSZ;
    	if (sigaltstack(&ss, &oss) < 0) {
    		perror("sigaltstack");
    		abort();
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/runtime/os_wasm.go

    	return
    }
    
    //go:nosplit
    func cputicks() int64 {
    	// runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
    	return nanotime()
    }
    
    // gsignalStack is unused on js.
    type gsignalStack struct{}
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// No threads, so nothing to do.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/os3_plan9.go

    }
    
    func setProcessCPUProfiler(hz int32) {
    }
    
    func setThreadCPUProfiler(hz int32) {
    	// TODO: Enable profiling interrupts.
    	getg().m.profilehz = hz
    }
    
    // gsignalStack is unused on Plan 9.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top