@@ -208,7 +208,7 @@ bool Thread::FileDescriptionBlocker::setup_blocker()
208
208
return add_to_blocker_set (m_blocked_description->blocker_set ());
209
209
}
210
210
211
- bool Thread::FileDescriptionBlocker::unblock (bool from_add_blocker, void *)
211
+ bool Thread::FileDescriptionBlocker::unblock_if_conditions_are_met (bool from_add_blocker, void *)
212
212
{
213
213
auto unblock_flags = m_blocked_description->should_unblock (m_flags);
214
214
if (unblock_flags == BlockFlags::None)
@@ -238,13 +238,13 @@ void Thread::FileDescriptionBlocker::will_unblock_immediately_without_blocking(U
238
238
// could be called by the BlockerSet at any time!
239
239
VERIFY (reason == UnblockImmediatelyReason::TimeoutInThePast);
240
240
241
- // Just call unblock here because we will query the file description
241
+ // Just call unblock_if_conditions_are_met here because we will query the file description
242
242
// for the data and don't need any input from the FileBlockerSet.
243
243
// However, it's possible that if timeout_in_past is true then FileBlockerSet
244
244
// may call us at any given time, so our call to unblock here may fail.
245
245
// Either way, unblock will be called at least once, which provides
246
246
// all the data we need.
247
- unblock (false , nullptr );
247
+ unblock_if_conditions_are_met (false , nullptr );
248
248
}
249
249
250
250
const FileDescription& Thread::FileDescriptionBlocker::blocked_description () const
@@ -386,7 +386,7 @@ void Thread::SelectBlocker::will_unblock_immediately_without_blocking(UnblockImm
386
386
}
387
387
}
388
388
389
- bool Thread::SelectBlocker::unblock (bool from_add_blocker, void * data)
389
+ bool Thread::SelectBlocker::unblock_if_conditions_are_met (bool from_add_blocker, void * data)
390
390
{
391
391
VERIFY (data); // data is a pointer to an entry in the m_fds vector
392
392
auto & fd_info = *static_cast <FDInfo*>(data);
0 commit comments