We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779acc4 commit 2fe66a5Copy full SHA for 2fe66a5
src/process/task.rs
@@ -79,6 +79,11 @@ impl Task {
79
80
/// Thread children from `/proc/<pid>/task/<tid>/children`
81
///
82
+ /// WARNING:
83
+ /// This interface is not reliable unless all the child processes are stoppped or frozen.
84
+ /// If a child task exits while the file is being read, non-exiting children may be omitted.
85
+ /// See the procfs(5) man page for more information.
86
+ ///
87
/// This data will be unique per task.
88
pub fn children(&self) -> ProcResult<Vec<u32>> {
89
let mut buf = String::new();
0 commit comments