Synchronous wait for SemanticParserService - SyntaxEditor for Windows Forms Forum Cart Not logged in Log In Register Forgot Password Resend Validation E-mail Products WPF Controls WinRT Controls Silverlight Controls WinForms Controls ASP.NET Controls Code Writer App Icons Download Evaluations Freeware Online Demos Purchase Shopping Cart Price Lists Sales FAQ Support My Account Support Tickets Knowledge Base Consulting Services Community Blog Twitter Page Discussion Forums Polls WPFpedia Company About Us Contact Us Policies Our Customers Testimonials News Room Media Kit Careers Back to Forum Previous Thread Next Thread Latest Release: Discussion Forums SyntaxEditor for Windows Forms Synchronous wait for SemanticParserService Tobias Lingemann - Software Devolpment Engineer, Vector Informatik GmbH Version: Hi,I was wondering why it is not possible to wait synchronously for the parser service to finish all pending requests.I know you can wait for pending requests to finish, but the currently active request is not in the list of pending requests and I don't have any other way to get the parse hash key. For example because the parsed file is not openend, but used in the project context via the SourceProjectContent class in the .net add-on.If I am just spinning in the main thread to wait until the parser service is no longer busy, I end up with a dead lock, because somehow the parser service seems to wait for the main thread.Right now the only option for me is to check if the service is busy and try again in next idle. Best regards, Tobias Lingemann. by Actipro Software Support - Cleveland, OH, USA Hi Tobias,I'm not sure if you saw, but the SourceProjectContent.LoadForCode and LoadForFile methods return the parse hash key for the parse request they created. Actipro Software Support by Tobias Lingemann - Software Devolpment Engineer, Vector Informatik GmbH I did not know that. That could work. However it still would be nice to add a WaitForParseAll method rather than keeping track of all hash keys.Fyi. My scenario is that I exctract information from my sourcefiles using the ProjectResolver instance even if the files are not opened (e.g. just added to the project). Best regards, Tobias Lingemann. which was after the last post in this thread. Add a Comment Please log in to a validated account to post comments. Products WPF Controls WinRT Controls Silverlight Controls WinForms Controls ASP.NET Controls Code Writer App Icons Download Evaluations Freeware Online Demos Purchase Shopping Cart Price Lists Sales FAQ Support My Account Support Tickets Knowledge Base Consulting Services Community Blog Twitter Page Discussion Forums Polls WPFpedia Company About Us Our Customers Testimonials News Room Media Kit Careers Contact Us return false; type: 'POST', cache: false, async: false, else return false; return false; doctype: '', return false; type: 'POST', cache: false, async: false, else
Clker.com is owned by Rolera LLC, 2270 Route 30, Oswego, IL 60543 support\at\clker\dot\com
Comments