Skip to content

Commit de9aa70

Browse files
authored
add new file to toc (#46529)
1 parent 6f7ea0c commit de9aa70

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: "Wait handle runtime events"
2+
title: "Wait-handle runtime events"
33
description: See ETW events that collect information specific to the wait handles.
4-
ms.date: "05/27/2024"
4+
ms.date: "05/27/2025"
55
helpviewer_keywords:
66
- "wait handle events (CoreCLR)"
77
- "ETW, EventPipe, LTTng wait handle events (CoreCLR)"
88
---
99

10-
# .NET runtime wait handle events
10+
# .NET runtime wait-handle events
1111

12-
These runtime events capture information about wait handles. They can be useful to investigate thread pool starvation issues. For more information about how to use these events for diagnostic purposes, see [logging and tracing .NET applications](../../core/diagnostics/logging-tracing.md)
12+
Runtime wait-handle events capture information about wait handles. They can be useful to investigate thread pool starvation issues. For more information about how to use these events for diagnostic purposes, see [logging and tracing .NET applications](../../core/diagnostics/logging-tracing.md)
1313

1414
## WaitHandleWaitStart event
1515

@@ -20,36 +20,36 @@ This event is emitted at the start of a wait operation on a wait handle. Here is
2020
- `ManualResetEvent.WaitOne`
2121
- `Task.Wait`
2222

23-
|Keyword for raising the event|Level|
24-
|-----------------------------------|-----------|
25-
|`WaitHandleKeyword` (0x40000000000)|Verbose (5)|
23+
| Keyword for raising the event | Level |
24+
|-------------------------------------|-------------|
25+
| `WaitHandleKeyword` (0x40000000000) | Verbose (5) |
2626

2727
The following table shows event information.
2828

29-
|Event|Event ID|Raised when|
30-
|-----------|--------------|-----------------|
31-
|`WaitHandleWaitStart`|301|A wait starts.|
29+
| Event | Event ID | Raised when |
30+
|-----------------------|----------|----------------|
31+
| `WaitHandleWaitStart` | 301 | A wait starts. |
3232

33-
|Field name|Data type|Description|
34-
|----------------|---------------|-----------------|
35-
|`WaitSource`|`win:UInt8`|`0x0` - Other sources.<br /><br /> `0x1` - The wait originated from managed code through the `Monitor.Wait` method.|
36-
|`AssociatedObjectID`|`win:Pointer`|Address of the associated object (for example, address of `obj` in the code `lock(obj) {}`).|
37-
|`ClrInstanceID`|`win:UInt16`|Unique ID for the instance of CoreCLR.|
33+
| Field name | Data type | Description |
34+
|-----------------|--------------|----------------------------------------|
35+
| `WaitSource` | `win:UInt8` | `0x0` - Other sources.<br /><br /> `0x1` - The wait originated from managed code through the `Monitor.Wait` method. |
36+
| `AssociatedObjectID` | `win:Pointer` | Address of the associated object (for example, address of `obj` in the code `lock(obj) {}`). |
37+
| `ClrInstanceID` | `win:UInt16` | Unique ID for the instance of CoreCLR. |
3838

3939
## WaitHandleWaitStop event
4040

4141
This event is emitted at the end of a wait operation on a wait handle.
4242

43-
|Keyword for raising the event|Level|
44-
|-----------------------------------|-----------|
45-
|`WaitHandleKeyword` (0x40000000000)|Verbose (5)|
43+
| Keyword for raising the event | Level |
44+
|-------------------------------------|-------------|
45+
| `WaitHandleKeyword` (0x40000000000) | Verbose (5) |
4646

4747
The following table shows event information.
4848

49-
|Event|Event ID|Raised when|
50-
|-----------|--------------|-----------------|
51-
|`WaitHandleWaitStop`|302|A wait stops.|
49+
| Event | Event ID | Raised when |
50+
|----------------------|----------|---------------|
51+
| `WaitHandleWaitStop` | 302 | A wait stops. |
5252

53-
|Field name|Data type|Description|
54-
|----------------|---------------|-----------------|
55-
|`ClrInstanceID`|`win:UInt16`|Unique ID for the instance of CoreCLR.|
53+
| Field name | Data type | Description |
54+
|-----------------|--------------|----------------------------------------|
55+
| `ClrInstanceID` | `win:UInt16` | Unique ID for the instance of CoreCLR. |

docs/navigate/tools-diagnostics/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ items:
479479
href: ../../fundamentals/diagnostics/runtime-type-events.md
480480
- name: Tiered compilation events
481481
href: ../../fundamentals/diagnostics/runtime-tiered-compilation-events.md
482+
- name: Wait-handle events
483+
href: ../../fundamentals/diagnostics/runtime-wait-handle-events.md
482484
- name: Collect diagnostics in containers
483485
href: ../../core/diagnostics/diagnostics-in-containers.md
484486
- name: Dumps

0 commit comments

Comments
 (0)