Skip to content

建立 cleanup state machine #3

@shediao

Description

@shediao

目前代码里 cleanup 逻辑应该还是:

“流程式 cleanup”

建议升级为:

CREATED
SPAWNED
RUNNING
EXITED
KILLED
TIMEOUT
REAPED
CLOSED

目的:

让:

wait()
kill()
destructor
timeout

行为统一。

否则后面一定出现:

double wait
double close
double kill
race

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions