Browse Source

[os2/process]: Adjust docs on process_close function

flysand7 1 year ago
parent
commit
8f4755532e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/os/os2/process.odin

+ 2 - 1
core/os/os2/process.odin

@@ -351,7 +351,8 @@ process_wait :: proc(process: Process, timeout := TIMEOUT_INFINITE) -> (Process_
 
 
 	This procedure closes the handle associated with a process. It **does not**
 	This procedure closes the handle associated with a process. It **does not**
 	terminate a process, in case it was running. In case a termination is
 	terminate a process, in case it was running. In case a termination is
-	desired, kill the process first, then close the handle.
+	desired, kill the process first, wait for the process to finish,
+	then close the handle.
 */
 */
 process_close :: proc(process: Process) -> (Error) {
 process_close :: proc(process: Process) -> (Error) {
 	return _process_close(process)
 	return _process_close(process)