Remove finally.hh

[?]
Oct 10, 2016, 2:01 PM
3YSJ3LYKWE7ZXYGXLJI56CN6CGXXC4QO2ZDDA5VYGDSVXJ5QSIDQC

Dependencies

  • [2] DIEY5USN Keep better bytesReceived/bytesSent stats
  • [3] FS3HUMVU Fix Makefile.am
  • [4] MHVIT4JY Split hydra-queue-runner.cc more
  • [5] B2L4T3X6 Sync with Nix
  • [6] 7LB6QBXY Keep track of the number of build steps that are being built
  • [7] YZAI5GQU Implement a database connection pool
  • [8] 5AIYUMTB Basic remote building
  • [9] N2NKSKHS Refactor local binary cache code into a subclass
  • [10] 73YR46NJ hydra-queue-runner: Write directly to a binary cache
  • [11] 24BMQDZA Start of single-process hydra-queue-runner
  • [12] MB3TISH2 Rate-limit the number of threads copying closures at the same time
  • [13] GH4S4AWM Rename file
  • [14] XLYHZUHT Cache .narinfo lookups
  • [15] ENXUSMSV Make concurrency more robust
  • [16] N4IROACV Move buildRemote() into State
  • [17] GTUZLZRH Add an S3-backed binary cache store
  • [18] V6H6BWMK Sync with Nix
  • [19] HJOEIMLR Refactor
  • [20] MS676RZW Remove s3binarystore (moved to nix in d155d80)

Change contents

  • file deletion: finally.hh (----------)
    [4.187][2.550:584](),[2.584][2.323:323]()
    #pragma once
    /* A trivial class to run a function at the end of a scope. */
    class Finally
    {
    private:
    std::function<void()> fun;
    public:
    Finally(std::function<void()> fun) : fun(fun) { }
    ~Finally() { fun(); }
    };
  • replacement in src/hydra-queue-runner/Makefile.am at line 5
    [4.131][4.0:61](),[3.53][3.53:65]()
    build-result.hh counter.hh token-server.hh state.hh db.hh \
    finally.hh
    [4.131]
    [4.322]
    build-result.hh counter.hh token-server.hh state.hh db.hh