Skip to content

queue的加锁 #2

Description

@RoarkShrugged

queue的front()和back()方法没有加锁,感觉有可能在别的线程做pop后缩容的时候存在某个时刻q.data[q.begin]访问了一个非法地址

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