Skip to content

Commit

Permalink
CODING_STYLE: remove duplicate _exit() entry
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Aug 23, 2018
1 parent d5f9a01 commit 956a1f7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CODING_STYLE.md
Expand Up @@ -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.
Expand Down

0 comments on commit 956a1f7

Please sign in to comment.