Skip to content

Version 1.0.3

Compare
Choose a tag to compare
@timandy timandy released this 11 Feb 12:15
· 186 commits to main since this release

Release notes

Features

  • Support copy Cloneable objects to sub goroutine when create sub goroutines by Go(), GoWait() and GoWaitResult() methods.
  • Add api ForeachGoid(func(goid int64)) to run a func for each goid.

Changes

  • Support go version range go1.13 ~ go1.17(Not support go1.12 anymore).
  • Use segment locks to reduce competition and improve ThreadLocal's read, write and gc performance.
  • Get all goids through runtime.allgs instead of runtime.atomicAllG, so go1.13 ~ go1.15 can also get all goids natively.

Links