From: Christian Brauner Date: Fri, 2 Mar 2018 11:18:38 +0000 (+0100) Subject: CODING_STYLE: remove duplicate _exit() entry X-Git-Tag: lxc-2.0.10~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956a1f716db92eedf846edf8c1753121d15186a9;p=thirdparty%2Flxc.git CODING_STYLE: remove duplicate _exit() entry Signed-off-by: Christian Brauner --- diff --git a/CODING_STYLE.md b/CODING_STYLE.md index a3bf41a4a..4a88bb898 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -433,13 +433,6 @@ rules to use them: } ``` -#### Use `_exit()` in `fork()`ed Processes - -- This has multiple reasons but the gist is: - - `exit()` is not thread-safe - - `exit()` in libc runs exit handlers which might interfer with the parents - state - #### Use `for (;;)` instead of `while (1)` or `while (true)` - Let's be honest, it is really the only sensible way to do this.