mergerfs/vendored
Antonio S. Musumeci e726610c6b thread_pool: add enqueue_task PToken overload + fill coverage gaps
Implementation:
- Add enqueue_task(PToken&, FuncType&&) overload so high-rate callers
  can use a dedicated producer token without losing the future-based
  return.  Mirrors the no-token version: try-enqueue with fast-path
  grow on pressure (autoscale pools), block-enqueue otherwise.

Tests (5 new, 87 total):
- tp_enqueue_task_with_ptoken: basic int/string/void futures via ptok
- tp_enqueue_task_ptoken_exception: exception forwarded through future
- tp_enqueue_task_ptoken_multiple_futures: 50 concurrent futures, all
  resolved correctly
- tp_construct_scaling_nonpositive_decline_throws: decline_threshold ≤ 0
  was the only ScalingConfig validation not covered by an explicit test
- tp_autoscale_fast_path_grow_on_pressure: verifies _maybe_grow_on_pressure
  fires (thread_count grows synchronously) when enqueue_work_autoscale
  finds the queue full

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 19:57:26 -04:00
..
acutest Update vendored/acutest to latest master 2026-03-02 01:09:16 -05:00
boost Update vendored/boost to 1.90.0 2026-03-02 01:09:16 -05:00
CLI11 Update vendored/CLI11 to v2.6.2 2026-03-02 01:09:16 -05:00
fmt Move fmtlib to vendored and upgrade to 12.1.0 2026-03-02 01:09:16 -05:00
khash Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
libfuse thread_pool: add enqueue_task PToken overload + fill coverage gaps 2026-04-18 19:57:26 -04:00
nonstd Update vendored/nonstd to latest and fix API usage 2026-03-02 01:09:16 -05:00
rapidhash Update vendored/rapidhash to v3 2026-03-02 01:09:16 -05:00
scope_guard Move scope_guard to vendored/ 2026-03-24 21:13:34 -04:00
subprocess Update vendored/subprocess to v2.5 2026-03-02 01:09:16 -05:00