commit | 29dbcba5db6ba4ff3cb8ad783b9ea0abb0249bc3 | [log] [tgz] |
---|---|---|
author | Eugene Zhulenev <ezhulenev@google.com> | Wed Apr 09 12:44:31 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 09 12:45:12 2025 -0700 |
tree | 4a7482ed8586264951507c08358a28bd92466d0b | |
parent | 7f2f981fe4c7df98a8de8813cc7ecf0d875cf8bf [diff] |
No public description PiperOrigin-RevId: 745695659 Change-Id: Ifc595fe6199b3e4be51480325823ccf8f24b56c4
diff --git a/Eigen/src/ThreadPool/NonBlockingThreadPool.h b/Eigen/src/ThreadPool/NonBlockingThreadPool.h index 4ec1354..44d4b24 100644 --- a/Eigen/src/ThreadPool/NonBlockingThreadPool.h +++ b/Eigen/src/ThreadPool/NonBlockingThreadPool.h
@@ -184,7 +184,7 @@ // steal one more time, to make sure that this task will be // executed. We will not necessarily find it, because it might // have been already stolen by some other thread. - if (has_no_notify_task && !t->f) *t = q.PopFront(); + if (has_no_notify_task && !t->f) *t = GlobalSteal(); } } }