Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.
This repository was archived by the owner on May 28, 2019. It is now read-only.

Lock before add "task_count_" and "task_cost_sum_"  #65

@baobaoyeye

Description

@baobaoyeye

thread_pool.h中 ThreadProc函数,是否应该在进行统计耗时和任务数前就Lock
或者通过volatile对耗时和任务数做修饰?

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