- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Vong (0.24 sec)
-
src/cmd/cgo/internal/test/cgo_thread_lock.go
// license that can be found in the LICENSE file. //go:build linux package cgotest /* #include <unistd.h> #include <stdbool.h> #include <sys/syscall.h> void Gosched(void); static bool Ctid(void) { long tid1 = syscall(SYS_gettid); Gosched(); return tid1 == syscall(SYS_gettid); } */ import "C" import ( "runtime" "testing" "time" ) //export Gosched func Gosched() {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu May 18 16:55:07 GMT 2023 - 939 bytes - Viewed (0)