Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for timer_create (0.28 sec)

  1. src/runtime/cpuprof.go

    	// (Other calls to add or addNonGo should be blocked out
    	// by the fact that only one SIGPROF can be handled by the
    	// process at a time. If not, this lock will serialize those too.
    	// The use of timer_create(2) on Linux to request process-targeted
    	// signals may have changed this.)
    	for !prof.signalLock.CompareAndSwap(0, 1) {
    		// TODO: Is it safe to osyield here? https://go.dev/issue/52672
    		osyield()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top