Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGoroutineProfile (0.63 sec)

  1. src/runtime/runtime_unix_test.go

    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || plan9
    
    package runtime_test
    
    import (
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"testing"
    )
    
    func TestGoroutineProfile(t *testing.T) {
    	// GoroutineProfile used to use the wrong starting sp for
    	// goroutines coming out of system calls, causing possible
    	// crashes.
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(100))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top