Skip to content

Commit c18129d

Browse files
updated faq path
1 parent cd7b286 commit c18129d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ Cpp-Taskflow is licensed under the [MIT License](./LICENSE).
858858
[NSF]: https://www.nsf.gov/
859859
[UIUC]: https://illinois.edu/
860860
[CSL]: https://csl.illinois.edu/
861-
[FAQ]: ./doc/faq.md
861+
[FAQ]: ./docs/faq.md
862862
[wiki]: https://cpp-taskflow.github.io/cpp-taskflow/index.html
863863
[PayMe]: https://www.paypal.me/twhuang/10
864864
[C++17]: https://en.wikipedia.org/wiki/C%2B%2B17

taskflow/threadpool/workstealing_threadpool.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ void WorkStealingThreadpool<Closure>::_balance_load(unsigned me) {
516516
Worker* w = _idlers.back();
517517
_idlers.pop_back();
518518
w->ready = true;
519+
w->cache = _workers[me].queue.pop();
519520
w->cv.notify_one();
520521
w->last_victim = me;
521522
}

0 commit comments

Comments
 (0)