[llvm-dev] [RFC] Enable thread specific cl::opt values for multi-threaded support

Jacob Lifshay via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 22 03:18:14 PDT 2018


On Mon, Oct 22, 2018, 02:53 Nicolai Hähnle via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Linux distributions prefer dynamic linking for their own good reasons,
> and also ensure that the same LLVM binary will be used. So there's no
> compatibility issue on that front, but the issue of isolating the data /
> options used by the two instances remains.
>
Would adding a thread-local mode to ManagedStatic help? There could also be
a ManagedStatic context, similar to an OpenGL context in that it can be
bound to a set of threads.

Jacob Lifshay

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181022/3dca596f/attachment.html>


More information about the llvm-dev mailing list