[LLVMdev] Thread support: desirable or not?
Evan Jones
ejones at uwaterloo.ca
Thu May 19 16:15:38 PDT 2005
On May 19, 2005, at 19:10, Chris Lattner wrote:
>> Now that 1.5 has been released, would it be possible to have some
>> discussion about if linking the JIT with a thread library is the
>> direction that should be taken? I don't see any alternative except
>> having separate "threaded" and "unthreaded" JITs, and requiring the
>> user to know when the different JITs should be used.
> I think that this is fine.
Does that mean option 1 or option 2 is fine:
1. Always link the JIT against a platform's thread library so it is
always thread-safe.
2. Build two JITs, one that is thread-safe, and another which is not.
Users must manually select the correct JIT.
Evan Jones
--
Evan Jones
http://evanjones.ca/
More information about the llvm-dev
mailing list