Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Move runtime specific methods out of the runtime partition
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas committed Oct 29, 2019
1 parent e6235eb commit 3eb5f9e
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -588,25 +588,6 @@ private void ActivityChanging(AsyncLocalValueChangedArgs<ActivityInfo?> args)
// currently we do nothing, as that seems better than setting to Guid.Emtpy.
}

// Assembly load runtime activity name
private const string AssemblyLoadName = "AssemblyLoad";

/// <summary>
/// Called by the runtime to start an assembly load activity
/// </summary>
private static void StartAssemblyLoad(ref Guid activityId, ref Guid relatedActivityId)
{
Instance.OnStart(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId, ref relatedActivityId, EventActivityOptions.Recursive);
}

/// <summary>
/// Called by the runtime to stop an assembly load activity
/// </summary>
private static void StopAssemblyLoad(ref Guid activityId)
{
Instance.OnStop(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId);
}

/// <summary>
/// Async local variables have the property that the are automatically copied whenever a task is created and used
/// while that task is running. Thus m_current 'flows' to any task that is caused by the current thread that
Expand Down

0 comments on commit 3eb5f9e

Please sign in to comment.