Skip to content

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

Description

@oscaryao

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions