[LLVMdev] Calling dispatch_async() within call to ExecutionEngine::runFunction()
David Chisnall
David.Chisnall at cl.cam.ac.uk
Wed Jan 30 00:43:23 PST 2013
I have used libdispatch (on FreeBSD) from JIT'd code without any issues, so I think your bug is elsewhere.
David
On 30 Jan 2013, at 07:43, Rick Mann wrote:
> My host app calls runFunction() on my JITed code. It, in turn, calls a C function ("decode()") in the host app that then calls dispatch_async(). The runFunction() call returns as expected, but the block passed to dispatch_async() never gets called. The async block is supposed to call a function pointer callback that was passed in to decode().
>
> Everything is being called on the main queue.
>
> Is it not possible to do this? Is something in LLVM actually aborting the dispatch_async() execution of my block?
>
> Thanks!
>
> --
> Rick
>
>
>
>
> _______________________________________________
> 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