Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeferTaskThread ¶
type DeferTaskThread interface {
// 注意,一个thread的多个task,本应该是串行执行的语义,
// 目前为了简单,让它们并行执行了,以后可能会发生变化
Go(deferMs int, task TaskFn, param ...interface{})
}
func NewDeferTaskThread ¶
func NewDeferTaskThread() DeferTaskThread
Click to show internal directories.
Click to hide internal directories.