Contention ETW Events
Contention events are raised whenever there is contention for System.Threading.Monitor locks or native locks used by the runtime. Contention occurs when a thread is waiting for a lock while another thread possesses the lock.
The following table shows the keyword under which contention events are raised, and the level of the events. (For more information, see CLR ETW Keywords and Levels.)
Keyword for raising the event
The following table shows event information.
Contention starts. This event does not include the amount of spinning time before a thread waits to acquire a lock; it is raised only when the thread waits to acquire a lock.
The following table shows event data.
0 for managed; 1 for native.
Unique ID for the instance of CLR.