Timestamp:
Aug 11, 2025, 5:45:18 PM (3 months ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
2c3ae5
Parents:
950cd4
git-author:
Frederik Heber <frederik.heber@…> (07/13/25 21:22:00)
git-committer:
Frederik Heber <frederik.heber@…> (08/11/25 17:45:18)
Message:

JobMarket: Scheduler shutdown in extra thread.

  • The shutdown needs to happen in an extra thread. We need to wait for busy workers to finish and at the same time schedule (and execute) operations to remove idle workers. As the io_service runs in the main thread and this on a signal gets interrupted, we need these shutdown functions to run independently such that the io_service can continue handling the networking connections.
  • added flag to stop accepting new workers when shutting down
  • added command-line option such that the pool guard may be active from start already (and not only when the first worker becomes busy).
(No files)

Note: See TracChangeset for help on using the changeset viewer.