[LLVMdev] code generation

Reid Kleckner reid.kleckner at gmail.com
Tue Sep 20 06:32:43 PDT 2011


LLVM does not provide any special support for threads.  You have to
generate code that calls into whatever native threading library is
available on your operating system, ie pthreads or winthreads, and
link against it.

Reid

On Tue, Sep 20, 2011 at 12:54 AM, neda 8664 <neda8664 at gmail.com> wrote:
> I've study their work carefully.
> My problem is the implementation of threads in llvm after partitionning. I
> want to have information about how to implement producer/consumer thread in
> llvm.
> I do not know where I should start in llvm for code generation and create
> thread and insert  produce and consume statement  .
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list