Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add marker diagnostics asynchronously #554

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

mickaelistria
Copy link
Contributor

Making it synchronous can block LS streams and cause deadlocks

}
};
IWorkspace ws = resource.getWorkspace();
ws.run(runnable, ws.getRuleFactory().markerRule(resource), IWorkspace.AVOID_UPDATE, new NullProgressMonitor());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about and ws.getRuleFactory().markerRule(resource) and IWorkspace.AVOID_UPDATE, are those not needed anymore?

@mickaelistria mickaelistria force-pushed the async-markers branch 6 times, most recently from 39e4895 to 112fa33 Compare March 17, 2023 11:14
Making it synchronous can block LS streams and cause deadlocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants