Page MenuHomePhabricator

[lib] Simplify useExistingThreadInfoFinder
ClosedPublic

Authored by ashoat on Sep 30 2024, 9:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 7:39 AM
Unknown Object (File)
Thu, Mar 6, 7:54 PM
Unknown Object (File)
Feb 18 2025, 2:44 AM
Unknown Object (File)
Feb 18 2025, 2:44 AM
Unknown Object (File)
Feb 18 2025, 2:44 AM
Unknown Object (File)
Feb 18 2025, 2:44 AM
Unknown Object (File)
Jan 15 2025, 10:26 AM
Unknown Object (File)
Jan 5 2025, 7:44 PM
Subscribers
None

Details

Summary

Since D13404, pendingToRealizedThreadIDsSelector will return the same thing when queried with a thin thread versus a thick thread.

As such, there's no longer a reason to check for both separately here.

Separately, I also got rid of the ternary at the end in favor of an early exit.

Depends on D13533

Test Plan

Careful reading of the code, as well as being tested with the rest of the stack, where I test all kinds of ways of creating a thread

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable