gls icon indicating copy to clipboard operation
gls copied to clipboard

Goroutine local storage

Results 4 gls issues
Sort by recently updated
recently updated
newest added

For my Go interpreter gomacro, I had to use goroutine-local storage so I implemented https://github.com/cosmos72/gls - it uses a single line of assembler to retrieve a goroutine id. Would you...

jtolds/gls cause gc stw increase: [sample code](https://gist.github.com/yanghuashuai/addff28592db768b182c64c3f58dc0fc)

https://github.com/golang/go/wiki/Modules#gomod This PR is just a result of the following commands (in clean Go 1.11.5 environment): ``` go mod init go get ./... go mod tidy ``` The aim is...

There is a performance loss due to mutex locks in situations where goroutines are frequently created/exited. 1. I used lock free pool as goroutine id pool. 2. In order to...