GO-2024-3284 : PingCAP TiDB nil pointer dereference in github.com/pingcap/tidb
Discover Packages
github.com/pingcap/tidb
util
goroutine_pool
package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Jan 19, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 375
Opens a new window with list of known importers.
Documentation
Documentation
¶
Pool is a struct to represent goroutine pool.
New returns a new *Pool object.
func (pool *Pool ) Go(f func())
Go works like go func(), but goroutines are pooled for reusing.
This strategy can avoid runtime.morestack, because pooled goroutine is already enlarged.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.