- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for runRaceprofThread (0.37 sec)
-
src/runtime/testdata/testprogcgo/raceprof.go
arg->buf[1] = 0; } static void* raceprofThread(void* p) { int i; for (i = 0; i < 100; i++) { pthread_kill(pthread_self(), SIGPROF); sched_yield(); } return 0; } void runRaceprofThread() { pthread_t tid; pthread_create(&tid, 0, raceprofThread, 0); pthread_join(tid, 0); } */ import "C" import ( "bytes" "fmt" "runtime" "runtime/pprof" "unsafe" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 18:13:14 UTC 2023 - 1.7K bytes - Viewed (0)