File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -334,9 +334,9 @@ feature! {
334334/// # Safety
335335///
336336/// In a multithreaded program, only [async-signal-safe] functions like `pause`
337- /// and `_exit` may be called by the child (the parent isn't restricted). Note
338- /// that memory allocation may **not** be async-signal-safe and thus must be
339- /// prevented.
337+ /// and `_exit` may be called by the child (the parent isn't restricted) until
338+ /// a call of `execve(2)`. Note that memory allocation may **not** be
339+ /// async-signal-safe and thus must be prevented.
340340///
341341/// Those functions are only a small subset of your operating system's API, so
342342/// special care must be taken to only invoke code you can control and audit.
Original file line number Diff line number Diff line change @@ -265,9 +265,9 @@ impl ForkResult {
265265/// # Safety
266266///
267267/// In a multithreaded program, only [async-signal-safe] functions like `pause`
268- /// and `_exit` may be called by the child (the parent isn't restricted). Note
269- /// that memory allocation may **not** be async-signal-safe and thus must be
270- /// prevented.
268+ /// and `_exit` may be called by the child (the parent isn't restricted) until
269+ /// a call of `execve(2)`. Note that memory allocation may **not** be
270+ /// async-signal-safe and thus must be prevented.
271271///
272272/// Those functions are only a small subset of your operating system's API, so
273273/// special care must be taken to only invoke code you can control and audit.
You can’t perform that action at this time.
0 commit comments