diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 5486f9599d..a1e093925b 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -1898,6 +1898,7 @@ def lock_timeout(lock): | |||
1898 | # A version of lock_timeout without the check that the lock was locked and a shorter timeout | 1898 | # A version of lock_timeout without the check that the lock was locked and a shorter timeout |
1899 | @contextmanager | 1899 | @contextmanager |
1900 | def lock_timeout_nocheck(lock): | 1900 | def lock_timeout_nocheck(lock): |
1901 | l = False | ||
1901 | try: | 1902 | try: |
1902 | s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals()) | 1903 | s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals()) |
1903 | l = lock.acquire(timeout=10) | 1904 | l = lock.acquire(timeout=10) |