Skip to content

死锁: void XloggerAppender::Close() #1366

@SammyLan

Description

@SammyLan

以下代码, cond_buffer_async_.notifyAll();有可能先于 log_close_ = true;执行
Image
如果先执行了cond_buffer_async_.notifyAll();,再执行 log_close_ = true;子线程就无法退出

Image

请联系sammylan@tencent.com

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