mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 10:51:52 -04:00
tasks_pending() reads _tasks_enqueued and _tasks_completed in two separate relaxed loads. Between the loads, additional tasks can complete, making the result transiently inconsistent (the (e > c) guard prevents underflow but not staleness). Add a comment clarifying that this is intentionally approximate and should not be used for synchronization decisions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acutest | ||
| boost | ||
| CLI11 | ||
| fmt | ||
| khash | ||
| libfuse | ||
| nonstd | ||
| rapidhash | ||
| scope_guard | ||
| subprocess | ||