Expand DSched interface for managing auxiliary functions
authorMaged Michael <magedmichael@fb.com>
Wed, 7 Sep 2016 15:31:10 +0000 (08:31 -0700)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Wed, 7 Sep 2016 15:38:29 +0000 (08:38 -0700)
commitf6b5f78bd533b91f51c3afc6d310698a42edb65d
tree10ce67161010e37072148098ffabd45dcfcd54e8
parent18914ab505d588f8c3dad9fd5b9133fe5495a870
Expand DSched interface for managing auxiliary functions

Summary:
Changed DSched interface for managing auxiliary functions to allow separate auxiliary functions for single actions (applicable to the next shared access by a specific thread) and repeating actions (applicable to all subsequent shared accesses).

[Note: I have a dependent diff that depends on both this diff and the diff for dynamic MPMCQueue (/D3462592). I don't think I can submit a diff that depends on multiple diffs that haven't landed yet. So, I'll wait until this one lands.]

Reviewed By: djwatson

Differential Revision: D3792669

fbshipit-source-id: 52654fffda2dc905b19ff91f4459f15da11f7735
folly/test/DeterministicSchedule.cpp
folly/test/DeterministicSchedule.h
folly/test/DeterministicScheduleTest.cpp