Skip to content

Commit 61409a3

Browse files
authored
Update xml/System.Diagnostics/Process.xml
1 parent a215863 commit 61409a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xml/System.Diagnostics/Process.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@
112112

113113
A system process is uniquely identified on the system by its process identifier. Like many Windows resources, a process is also identified by its handle, which might not be unique on the computer. A handle is the generic term for an identifier of a resource. The operating system persists the process handle, which is accessed through the <xref:System.Diagnostics.Process.Handle%2A> property of the <xref:System.Diagnostics.Process> component, even when the process has exited. Thus, you can get the process's administrative information, such as the <xref:System.Diagnostics.Process.ExitCode%2A> (usually either zero for success or a nonzero error code) and the <xref:System.Diagnostics.Process.ExitTime%2A>. Handles are an extremely valuable resource, so leaking handles is more virulent than leaking memory.
114114

115-
In the MacOS, the following properties will return 0:
115+
On macOS, the following properties return 0:
116+
116117
- <xref:System.Diagnostics.Process.PeakVirtualMemorySize64>
117118
- <xref:System.Diagnostics.Process.PrivateMemorySize64>
118119
- <xref:System.Diagnostics.Process.PeakWorkingSet64>

0 commit comments

Comments
 (0)