[Openmp-commits] [PATCH] D77609: [OpenMP] Added the support for unshackled task in RTL

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 8 07:02:31 PDT 2020


AndreyChurbanov added a comment.

> Could you please tell which part is monitor thread?

Code under "#if KMP_USE_MONITOR" implements monitor thread which used earlier to control behavior of worker threads. Now it is not used by default, and worker threads follow requested wait policy themselves.

> It might depend on whether we will have various wait polices. :-)

We do have active/passive wait policies for worker threads. I see no reason why unshackled thread would not follow same policy as other threads.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77609/new/

https://reviews.llvm.org/D77609





More information about the Openmp-commits mailing list