Skip to content

Implement the second GC version #56

@EdmondDantes

Description

@EdmondDantes

Currently, Zend ASYNC uses a complex GC implementation, which is difficult to read and maintain.
There is an idea to try a different version.

  1. GC runs in its own coroutine.
  2. GC creates another coroutine to run destructors.
  3. The GC coroutine waits until the destructor coroutine finishes its work.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions