Skip to content

mtqueue.hpp中的代码细节问题 #32

@vandoor

Description

@vandoor

slides/thread/mtqueue.hpp中,std::optional try_pop_until函数中,使用的是m_cv_empty.wait_for而不是wait_until。

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