Closed cmf41013 closed 3 years ago
Because the task maybe need to be added in multi-threads In some cases. I find the "ThreadPool::enqueue" function is not thread-safe, why?
Sorry, it's thread-safe.
Are you kidding?
Because the task maybe need to be added in multi-threads In some cases. I find the "ThreadPool::enqueue" function is not thread-safe, why?