You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: v-next/hardhat-utils/src/synchronization.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@
4
4
// ATTENTION: in the current implementation, there's still a risk of two processes running simultaneously.
5
5
// For example, if processA has locked the mutex and is running, processB will wait.
6
6
// During this wait, processB continuously checks the elapsed time since the mutex lock file was created.
7
-
// If an excessive amount of time has passed, processB will assume ownership of the mutex to avoid stale locks.
8
-
// However, there's a possibility that processB might take ownership because the mutex creation file is outdated, even though processA is still running
7
+
// If an excessive amount of time has passed, processB will assume ownership of the mutex to prevent stale locks, even if processA is still running.
8
+
// As a result, two processes will be running simultaneously in what is theoretically a mutex-locked section.
0 commit comments