Page MenuHomePhabricator

[lib] Simplify useExistingThreadInfoFinder
ClosedPublic

Authored by ashoat on Sep 30 2024, 9:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 12:08 PM
Unknown Object (File)
Wed, Dec 18, 12:08 PM
Unknown Object (File)
Wed, Dec 18, 12:08 PM
Unknown Object (File)
Wed, Dec 18, 12:07 PM
Unknown Object (File)
Tue, Dec 10, 5:48 PM
Unknown Object (File)
Tue, Nov 26, 5:12 AM
Unknown Object (File)
Sat, Nov 23, 6:23 AM
Unknown Object (File)
Nov 21 2024, 9:10 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