Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buke/quickjs-go
/ currentThreadID
Function
currentThreadID
runtime.go:440–442 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
438
}
439
440
func
currentThreadID() uint64 {
441
return
uint64(C.CurrentThreadID())
442
}
443
444
// WithExecuteTimeout will set the runtime's execute timeout; default is 0
445
func
WithExecuteTimeout(timeout uint64) Option {
Callers
1
TestRuntimeOwnerCheckHooksAndStrictThreadAffinity
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestRuntimeOwnerCheckHooksAndStrictThreadAffinity
Function · 0.68