//
pkg.gl
Category
github.com/buguang01/gsframe
threads
package
0.9.8
Repository:
https://github.com/buguang01/gsframe.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
121 SLOC
#
Functions
GoTry
GoTry 在新线程上跑.
NewGo
NewGo 开一个新的协程对象.
NewGoRun
NewGoRun 开一个新的协程并运行它在新协程上调用f ,resultf回到主线程的方法.
NewThreadGo
No description provided by the author
NewThreadGoBySub
No description provided by the author
TimeoutGo
No description provided by the author
Try
Try C#中 的try.
#
Structs
ThreadGo
ThreadGo 子协程管理计数,可以等子协程都完成用它来管理所有开的协程,需要等这些线程都跑完.
ThreadRun
ThreadRun 新开协程的类有回调用的.