Skip to content

Releases: panjf2000/ants

Ants v1.2.0

25 Aug 06:39
Compare
Choose a tag to compare

Features

  • Support nonblocking submit and max blocking limit setting (#41)

Bugfixes

  • Fix a bug where invokers get stuck in waiting idle workers af70ed0 08d01b6

Misc

  • Update example code 6851895
  • Fix some ill-formed code in unit tests b4dce88

Ants v1.1.0

17 Aug 17:28
Compare
Choose a tag to compare

Features

  • Optimize memory allocation and add the log of panic stack (#40)

Enhancements

  • Optimize the logic when cleaning up expired workers (#39) 9eb91a4
  • Refactor the blocking logic in retrieveWorker function 61660e2

Bugfixes

  • Fix a bug that blocks getting worker from pool 51c0008

Docs

  • Update Github badges 6b5c370
  • Add a section for new feature: pre-malloc d931ac0

Misc

Ants v1.0.0

30 Aug 17:01
Compare
Choose a tag to compare

Features

  • Managing and recycling a massive number of goroutines automatically
  • Purging overdue goroutines periodically
  • Abundant APIs: submitting tasks, getting the number of running goroutines, tuning capacity of pool dynamically, releasing pool, rebooting pool
  • Efficient in memory usage and it even achieves higher performance than unlimited goroutines in Golang