<div dir="ltr">Have you tried running libclang on a separate thread?</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 11, 2015 at 7:59 PM, John Sully <span dir="ltr"><<a href="mailto:john@csquare.ca" target="_blank">john@csquare.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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.<br><br>Is there already functionality to do this that I've missed?<br></div><br>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?<br></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>