Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
updating the comments for stub funcs
  • Loading branch information
attriaayush committed Mar 19, 2022
commit fb98ee7ba6a91e84b8cd20654f3dfeaf681ffee6
4 changes: 2 additions & 2 deletions src/runtime/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}