- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for To (0.14 sec)
-
src/cmd/cgo/internal/test/callback.go
import ( "path" "runtime" "strings" "sync" "testing" "unsafe" ) // Pass a func value from nestedCall to goCallback using an integer token. var callbackMutex sync.Mutex var callbackToken int var callbackFuncs = make(map[int]func()) // nestedCall calls into C, back into Go, and finally to f. func nestedCall(f func()) { // callback(x) calls goCallback(x) callbackMutex.Lock() callbackToken++ i := callbackToken
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0)