Home | History | Annotate | Download | only in source

Lines Matching defs:Baton

29 // A Baton is one possible control structure one can build using
31 // A Baton is always held by one and only one active thread - unlike
36 class Baton {
38 Baton()
46 ~Baton() {
52 // Pass the baton. Returns false if baton is not picked up in |max_msecs|.
69 // Grab the baton. Returns false if baton is not passed.
145 // Function that waits on a Baton, and passes it right back.
148 Baton* the_baton = static_cast<Baton*> (obj);
183 Baton baton_;
196 // This test verifies that one can use the baton multiple times.