Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions gloop/thread/periodicclosure_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,16 +191,6 @@ TEST(PeriodicClosureTest, MinInterval) {
pc.Stop();
}

TEST(PeriodicClosureTest, ThreadOptionsJoinable) {
PeriodicClosureOptions pco;
pco.mutable_thread_options()->set_joinable(false);
pco.set_name_prefix("not_joinable_thread_options");
PeriodicClosure pc([] {}, absl::ZeroDuration(), pco);

pc.Start();
pc.Stop(); // we should be able to Stop()
}

// Block until *run is true. *run is protected by *mu.
static void ProceedWhenTrue(absl::Mutex* mu, bool* run) {
mu->LockWhen(absl::Condition(run));
Expand Down
Loading