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

Use kevent queue for waiting for file unlocking #40

Conversation

PaulTaykalo
Copy link

What

  • LockFileManager now using File system events in order to check whether the file was deleted
  • Additional timing between operations added to prevent potential race condition case, when file was deleted right before event queue was set up

Why

Exponential waiting can dramatically decrease compilation performance. For example, if module A is dependent on Module B, and Module B is performing long compilation, The compilation of module A wiill be delayed on additional deltaT time, which is about the same time as the last waiting interval .

@repo-lockdown
Copy link

repo-lockdown bot commented Nov 19, 2019

This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

@repo-lockdown repo-lockdown bot closed this Nov 19, 2019
@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant