From 0a75dd82b9377a26de286d3167e05376bb8cdcad Mon Sep 17 00:00:00 2001 From: Aayush Attri Date: Sat, 19 Mar 2022 17:36:17 +0000 Subject: [PATCH] updating the comments for stub funcs --- src/runtime/debug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/debug.go b/src/runtime/debug.go index 4d2cd555..3dab5235 100644 --- a/src/runtime/debug.go +++ b/src/runtime/debug.go @@ -9,12 +9,12 @@ func NumCPU() int { 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 { return 0 } -// NumGoroutine returns the number of goroutines that currently exist. +// Stub for NumGoroutine, does not return the real value func NumGoroutine() int { return 1 }