spack/lib/spack/llnl/util
Todd Gamblin 54201e3c02
locks: add configuration and command-line options to enable/disable locks (#7692)
- spack.util.lock behaves the same as llnl.util.lock, but Lock._lock and
  Lock._unlock do nothing.

- can be disabled with a control variable.

- configuration options can enable/disable locking:
  - `locks` option in spack configuration controls whether Spack will use filesystem locks or not.
  - `-l` and `-L` command-line options can force-disable or force-enable locking.

- Spack will check for group- and world-writability before disabling
  locks, and it will not allow a group- or world-writable instance to
  have locks disabled.

- update documentation
2018-05-18 14:41:03 -07:00
..
tty Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
__init__.py Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
argparsewriter.py Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
filesystem.py Avoid double 'lib' for packages whose name already starts with lib (#7651) 2018-03-31 17:33:41 +02:00
lang.py Convert lazy singleton functions to Singleton object 2018-05-17 14:10:30 -07:00
link_tree.py Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
lock.py locks: add configuration and command-line options to enable/disable locks (#7692) 2018-05-18 14:41:03 -07:00