Ejemplo n.º 1
0
Archivo: main.cs Proyecto: zjmit/go2cs
 private static void cpuHogCFunction()
 {
     // Generates CPU profile samples including a Cgo call path.
     while (true)
     {
         C.CPUHogCFunction();
         runtime.Gosched();
     }
 }