sys

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL