[cfe-dev] libclang cancellation of long running tasks
Sean Silva
chisophugis at gmail.com
Mon Jan 12 16:09:51 PST 2015
Have you tried running libclang on a separate thread?
On Sun, Jan 11, 2015 at 7:59 PM, John Sully <john at csquare.ca> wrote:
> I'm in the process of writing an editor based upon libclang, and a major
> issue I'm hitting is the inability to cancel long running tasks. The
> primary tasks are parsing and creation of auto-complete results.
>
> Is there already functionality to do this that I've missed?
>
> If not, I would like to implement this as its a requirement to get good
> responsiveness out of my editor. Has there been any prior discussions on
> how this should be implemented?
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150112/582a7d25/attachment.html>
More information about the cfe-dev
mailing list