diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-27 01:33:03 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-27 01:33:03 +0100 |
| commit | c19a6a3fc5d9f561e2f5ac905db794eb0fa71b2a (patch) | |
| tree | 4e01e1ea0132d50cf19a77f3905db8c1c79a1644 /posts | |
| parent | c142732367dde6a2e350b33dfebbfbcd8bd891ce (diff) | |
| download | mitjafelicijan.com-c19a6a3fc5d9f561e2f5ac905db794eb0fa71b2a.tar.gz | |
Content fix
Diffstat (limited to 'posts')
| -rw-r--r-- | posts/2021-12-25-running-golang-application-as-pid1.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posts/2021-12-25-running-golang-application-as-pid1.md b/posts/2021-12-25-running-golang-application-as-pid1.md index 1eef97b..cfbf447 100644 --- a/posts/2021-12-25-running-golang-application-as-pid1.md +++ b/posts/2021-12-25-running-golang-application-as-pid1.md | |||
| @@ -128,7 +128,7 @@ func main() { | |||
| 128 | } | 128 | } |
| 129 | ``` | 129 | ``` |
| 130 | 130 | ||
| 131 | If you notice, we have a forever loop in the main, with a simple sleep of 1 second to not overwhelm the CPU. | 131 | If you notice, we have a forever loop in the main, with a simple sleep of 1 second to not overwhelm the CPU. This is because PID 1 should never complete and exit. That would result in kernel panic. |
| 132 | 132 | ||
| 133 | There are two ways of compiling Golang application. Statically and dynamically. | 133 | There are two ways of compiling Golang application. Statically and dynamically. |
| 134 | 134 | ||
