[PATCH] D110530: [ORC] Avoid deadlocks in ObjectLinkingLayer plugins with blocking finalize handlers

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 09:22:06 PDT 2021


lhames requested changes to this revision.
lhames added a comment.
This revision now requires changes to proceed.

We don't want to spawn a detached thread here -- if some error occurs on another thread we could try to tear down the JIT while the detached thread is still operating on it.

I think we will need a proper Dispatcher type for this, like we currently have for SimpleRemoteEPCServer. I will try lifting the implementation for that class into SimpleRemoteEPCUtils where SimpleRemoteEPC can share it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110530



More information about the llvm-commits mailing list