Skip to content

Commit f161670

Browse files
committed
Remove dead code.
1 parent 5ecb1ed commit f161670

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

src/chasers/chaser_validate_batch.cpp

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -264,22 +264,8 @@ std::string chaser_validate::log_rate(const std::string& name,
264264

265265
bool chaser_validate::enter_capture() NOEXCEPT
266266
{
267-
#if defined(DISABLED)
268-
// Blocked by batch (also requires other verifying_ enabled).
269-
while (true)
270-
{
271-
++writers_;
272-
if (!draining_.load())
273-
return true;
274-
275-
--writers_;
276-
if (verifying_.load() || closed())
277-
return false;
278267

279-
std::this_thread::yield();
280-
}
281-
#else
282-
// Bypassed by batch (faster overall, but high bypass).
268+
// Capture bypassed by batch.
283269
++writers_;
284270
if (draining_.load())
285271
{
@@ -288,7 +274,6 @@ bool chaser_validate::enter_capture() NOEXCEPT
288274
}
289275

290276
return true;
291-
#endif
292277
}
293278

294279
void chaser_validate::exit_capture() NOEXCEPT

0 commit comments

Comments
 (0)