Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerOf ¶
ContainerOf We can use the unsafe package to perform pointer arithmetic, and have an intrusive data structure
Types ¶
type ThreadPool ¶
type ThreadPool struct {
// contains filtered or unexported fields
}
func GetThreadPoolInstance ¶
func GetThreadPoolInstance() *ThreadPool
func (*ThreadPool) ThreadPoolQueue ¶
func (tp *ThreadPool) ThreadPoolQueue(f func(interface{}), arg interface{})
Click to show internal directories.
Click to hide internal directories.