diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index c27dafd614..a2a5ff6cfd 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -205,13 +205,13 @@ def Enum(*names): | |||
205 | 205 | ||
206 | def lockfile(name): | 206 | def lockfile(name): |
207 | """ | 207 | """ |
208 | Use the file fn as a lock file, return when the lock has been aquired. | 208 | Use the file fn as a lock file, return when the lock has been acquired. |
209 | Returns a variable to pass to unlockfile(). | 209 | Returns a variable to pass to unlockfile(). |
210 | """ | 210 | """ |
211 | while True: | 211 | while True: |
212 | # If we leave the lockfiles lying around there is no problem | 212 | # If we leave the lockfiles lying around there is no problem |
213 | # but we should clean up after ourselves. This gives potential | 213 | # but we should clean up after ourselves. This gives potential |
214 | # for races though. To work around this, when we aquire the lock | 214 | # for races though. To work around this, when we acquire the lock |
215 | # we check the file we locked was still the lock file on disk. | 215 | # we check the file we locked was still the lock file on disk. |
216 | # by comparing inode numbers. If they don't match or the lockfile | 216 | # by comparing inode numbers. If they don't match or the lockfile |
217 | # no longer exists, we start again. | 217 | # no longer exists, we start again. |