Ok, what if I one uses a global lock around every gl call? Would that
work with the current version of pipeline before proper thread support
is in place?

On Fri, Mar 30, 2012 at 3:42 AM, Jose Fonseca <jfons...@vmware.com> wrote:
> gallivm/llvmpipe is not thread safe.
>
> To fix it, we need to have separate LLVMContext / JIT engines for each 
> pipe_context (i.e., each thread).
>
> I'm working on a branch that does most of this, and I plan to commit over the 
> next month or so. That branch also has changes for the compilation to happen 
> per function, and not per module, so that we can use MC-JIT (which will 
> eventually supersed the current JIT engine), and that part is a bit 
> experimental and needs more work, which is why I can't commit immediately.
>
> Jose
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to