Skip to content

在example_echosvr示例中多进程共享的栈g_readwrite为什么不需要加进程锁 #201

@oscaryao

Description

@oscaryao

请问 在example_echosvr示例中多进程共享的栈g_readwrite为什么不需要加进程锁? 子进程的push后会挂起,主进程top后才唤起子进程,但是stack的push和top应该应该也会有抢占的隐患吧!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions