gallivm: Move LLVMStartMultithreaded() static initializer into gallivm
authorTom Stellard <thomas.stellard@amd.com>
Tue, 30 Apr 2013 14:38:03 +0000 (07:38 -0700)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 6 May 2013 16:06:03 +0000 (09:06 -0700)
commit55eb8eaaa8bf8696d56effce6ed87f03bea779e0
tree75ecb6e94cfeb4c0898d9a3bf2c76fff3beb69c0
parent7cc98ea88f5ec24369ba8123007637e47f093726
gallivm: Move LLVMStartMultithreaded() static initializer into gallivm

This does not solve all of the problems with using LLVM in a
multithreaded enivronment, but it should help in some cases.

Reviewed-by: Mathias.Froehlich@web.de
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
src/gallium/drivers/radeon/radeon_llvm_emit.cpp