- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for LockOSThread (0.08 seconds)
-
misc/cgo/gmp/fib.go
) func fibber(c chan *big.Int, out chan string, n int64) { // Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. runtime.LockOSThread() i := big.NewInt(n) if n == 0 { c <- i } for { j := <-c out <- j.String() i.Add(i, j) c <- i } } func main() { c := make(chan *big.Int)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 919 bytes - Click Count (0) -
api/go1.txt
pkg runtime, func GOMAXPROCS(int) int pkg runtime, func GOROOT() string pkg runtime, func Goexit() pkg runtime, func GoroutineProfile([]StackRecord) (int, bool) pkg runtime, func Gosched() pkg runtime, func LockOSThread() pkg runtime, func MemProfile([]MemProfileRecord, bool) (int, bool) pkg runtime, func NumCPU() int pkg runtime, func NumCgoCall() int64 pkg runtime, func NumGoroutine() int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)