예제 #1
0
파일: main.cs 프로젝트: zjmit/go2cs
 private static void cpuHogCFunction()
 {
     // Generates CPU profile samples including a Cgo call path.
     while (true)
     {
         C.CPUHogCFunction();
         runtime.Gosched();
     }
 }