Skip to content

Version 1.0.2

Compare
Choose a tag to compare
@timandy timandy released this 20 Jan 09:07
· 203 commits to main since this release

Release notes

Bugs

  • Fix bug in getAllGoidByStack() method, Buffer may too small when dump all stack info.

Features

  • Support initialize value when first get from ThreadLocal.
  • Add StackError to catch stack info.
  • Add Feature to wait goroutine finished or get result from goroutine.
  • Add api NewThreadLocalWithInitial(), NewInheritableThreadLocal() and NewInheritableThreadLocalWithInitial().
  • Support Inherit values of ThreadLocal by Go, GoWait() and GoWaitResult().

Changes

  • Rename LocalStorage to ThreadLocal.
  • Remove api Clear(), InheritContext() and RestoreContext().
  • Improve gc performance by reducing the number of for loops.

Links