D1457: workers: create backgroundcloser per thread

wlis (Wojciech Lis) phabricator at mercurial-scm.org
Mon Nov 20 23:59:47 EST 2017


wlis added a comment.


  That sounds good. I actually started with a change to manage a single background closer between threads, but the locking code gets a bit complicated and seemed more risky. I didn't know the main reason for 1 background closer was the number of descriptors.
  I'll check what disabling backgroundcloser does to the performance.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1457

To: wlis, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list