updating the comments for stub funcs
Этот коммит содержится в:
родитель
fbc748f152
коммит
0a75dd82b9
1 изменённых файлов: 2 добавлений и 2 удалений
|
@ -9,12 +9,12 @@ func NumCPU() int {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
// NumCgoCall returns the number of cgo calls made by the current process.
|
// Stub for NumCgoCall, does not return the real value
|
||||||
func NumCgoCall() int {
|
func NumCgoCall() int {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// NumGoroutine returns the number of goroutines that currently exist.
|
// Stub for NumGoroutine, does not return the real value
|
||||||
func NumGoroutine() int {
|
func NumGoroutine() int {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче