Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cpuLogDone (0.16 sec)

  1. src/runtime/tracecpu.go

    	trace.cpuLogWrite[1].Store(nil)
    	trace.cpuLogRead[0].close()
    	trace.cpuLogRead[1].close()
    	trace.cpuSleep.wake()
    
    	// Wait until the logger goroutine exits.
    	<-trace.cpuLogDone
    
    	// Clear state for the next trace.
    	trace.cpuLogDone = nil
    	trace.cpuLogRead[0] = nil
    	trace.cpuLogRead[1] = nil
    	trace.cpuSleep.close()
    }
    
    // traceReadCPU attempts to read from the provided profBuf[gen%2] and write
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top