mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
updating the comments for stub funcs
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user