- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setExited (0.12 sec)
-
src/runtime/testdata/testprogcgo/lockosthread.go
package main import ( "os" "runtime" "sync/atomic" "time" "unsafe" ) /* #include <pthread.h> #include <stdint.h> extern uint32_t threadExited; void setExited(void *x); */ import "C" var mainThread C.pthread_t func init() { registerInit("LockOSThreadMain", func() { // init is guaranteed to run on the main thread. mainThread = C.pthread_self() })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:21:33 UTC 2023 - 2.5K bytes - Viewed (0)