summaryrefslogtreecommitdiff
path: root/src/mongo/db/baton.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-40721 Add SubBatonJason Carey2019-05-011-4/+77
| | | | | | | Introduce a subbaton, which can be created from a baton and used in place of one. The key distinction being that a subbaton can be detached before its parent baton. When this occurs, the subbaton will fail all scheduled work inside it and refuse future work.
* SERVER-39146 Refactor BatonJason Carey2019-02-051-0/+107
Refactor the baton into regular and networking batons while also cleaning up the basic baton implementation.