spack/lib/spack/llnl
Harmen Stoppels d67b12eb79
locks: improved errors (#33477)
Instead of showing

```
==> Error: Timed out waiting for a write lock.
```

show

```
==> Error: Timed out waiting for a write lock after 1.200ms and 4 attempts on file: /some/file
```

s.t. we actually get to see where acquiring a lock failed even when not
running in debug mode.

And use pretty time units everywhere, so we don't get 1.45e-9 seconds
but 1.450ns etc.
2022-10-24 11:54:49 +02:00
..
util locks: improved errors (#33477) 2022-10-24 11:54:49 +02:00
__init__.py Update copyright year to 2022 2022-01-14 22:50:21 -08:00