Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 3432d63

Browse files
committed
fix
1 parent 2a97bc9 commit 3432d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/initialize.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void LibraryInitializer::atfork_parent() {
9393
void LibraryInitializer::atfork_child() {
9494
using op::custom::CustomOperator;
9595
// Conservative thread management for multiprocess workers
96-
this->cpu_worker_nthreads_ = this->mp_cv_num_threads_;
96+
this->cpu_worker_nthreads_ = this->mp_worker_nthreads_;
9797
#if MXNET_USE_OPENCV && !__APPLE__
9898
cv::setNumThreads(mp_cv_num_threads_);
9999
#endif // MXNET_USE_OPENCV

0 commit comments

Comments
 (0)