Skip to content

Bug: PID被假定为不能超过102400 #5

@zqdai

Description

@zqdai

co_routine.cpp:

static stCoRoutineEnv_t* g_arrCoEnvPerThread[ 102400 ] = { 0 };

采用数组的好处显而易见,但以pid索引这个数组很可能越界。需要该为其他数据结构。

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