Skip to content

Commit f0d71b8

Browse files
committed
Merge branch 'browser_corelcr_umco_trim' into browser_all
2 parents d3e1ac7 + 8c71f50 commit f0d71b8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPool.Browser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public static void GetAvailableThreads(out int workerThreads, out int completion
7777

7878
public static long CompletedWorkItemCount => 0;
7979

80+
[DynamicDependency("BackgroundJobHandler")] // https://github.com/dotnet/runtime/issues/101434
8081
internal static unsafe void RequestWorkerThread()
8182
{
8283
if (_callbackQueued)

src/libraries/System.Private.CoreLib/src/System/Threading/TimerQueue.Browser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ private bool SetTimer(uint actualDuration)
7979
}
8080

8181
// shortest time of all TimerQueues
82+
[DynamicDependency("TimerHandler")] // https://github.com/dotnet/runtime/issues/101434
8283
private static unsafe void ReplaceNextTimer(long shortestDueTimeMs, long currentTimeMs)
8384
{
8485
if (shortestDueTimeMs == long.MaxValue)

0 commit comments

Comments
 (0)