Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurGoroutineID ¶
func CurGoroutineID() uint64
func FindRootRoutineId ¶ added in v0.0.8
func FindRootRoutineId() uint64
FindRootRoutineId 寻找最顶级父routine的id
func RunRoutine ¶ added in v0.0.8
func RunRoutine(rFunc func())
RunRoutine 提供一个封装的 go goroutine 启动方法
该方法会在运行环境中建立 parent goroutine id 和 current goroutine id 的 map 映射
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.