From: Christian Brauner Date: Fri, 2 Mar 2018 11:18:38 +0000 (+0100) Subject: CODING_STYLE: remove duplicate _exit() entry X-Git-Tag: lxc-3.0.0.beta2~13^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9119fc1f465a53ae024d5912c5eb801c3305a9;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.