summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorzverok <zverok.offline@gmail.com>2023-02-15 21:28:06 +0200
committerVictor Shepelev <zverok.offline@gmail.com>2023-02-19 22:32:52 +0200
commit01509f344a9ebc2f10950f261581c23395d0ab7c (patch)
tree78c8f3e966c12d806610d1c06e0c023764be1c9a /process.c
parent59f7bf96d6d7655e94025f662ef995a90056949f (diff)
downloadruby-01509f344a9ebc2f10950f261581c23395d0ab7c.tar.gz
[DOC] Restore Process module doc lost due to RDoc update
Diffstat (limited to 'process.c')
-rw-r--r--process.c35
1 files changed, 15 insertions, 20 deletions
diff --git a/process.c b/process.c
index dbe2be5b56..744757a254 100644
--- a/process.c
+++ b/process.c
@@ -494,24 +494,6 @@ parent_redirect_close(int fd)
#define parent_redirect_close(fd) close_unless_reserved(fd)
#endif
-/*
- * Document-module: Process
- *
- * The module contains several groups of functionality for handling OS processes:
- *
- * * Low-level property introspection and management of the current process, like
- * Process.argv0, Process.pid;
- * * Low-level introspection of other processes, like Process.getpgid, Process.getpriority;
- * * Management of the current process: Process.abort, Process.exit, Process.daemon, etc.
- * (for convenience, most of those are also available as global functions
- * and module functions of Kernel);
- * * Creation and management of child processes: Process.fork, Process.spawn, and
- * related methods;
- * * Management of low-level system clock: Process.times and Process.clock_gettime,
- * which could be important for proper benchmarking and other elapsed
- * time measurement tasks.
- */
-
static VALUE
get_pid(void)
{
@@ -8774,8 +8756,21 @@ static VALUE rb_mProcID_Syscall;
/*
- * The Process module is a collection of methods used to
- * manipulate processes.
+ * Document-module: Process
+ *
+ * The module contains several groups of functionality for handling OS processes:
+ *
+ * * Low-level property introspection and management of the current process, like
+ * Process.argv0, Process.pid;
+ * * Low-level introspection of other processes, like Process.getpgid, Process.getpriority;
+ * * Management of the current process: Process.abort, Process.exit, Process.daemon, etc.
+ * (for convenience, most of those are also available as global functions
+ * and module functions of Kernel);
+ * * Creation and management of child processes: Process.fork, Process.spawn, and
+ * related methods;
+ * * Management of low-level system clock: Process.times and Process.clock_gettime,
+ * which could be important for proper benchmarking and other elapsed
+ * time measurement tasks.
*/
void