From 3147f8083f2218997213eb08d925143f04d79d23 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 19 Sep 2023 12:01:52 -0500 Subject: [PATCH] Fix line-break in post tags in Race Conditions post --- _posts/2023-04-04-painting-images-with-ipv6.md | 6 +++--- .../2023-07-26-race-conditions-in-signal-handlers.md | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/_posts/2023-04-04-painting-images-with-ipv6.md b/_posts/2023-04-04-painting-images-with-ipv6.md index 60615ab..a4251a3 100644 --- a/_posts/2023-04-04-painting-images-with-ipv6.md +++ b/_posts/2023-04-04-painting-images-with-ipv6.md @@ -1,8 +1,8 @@ --- layout: default -title: Painting Images with IPv6 -date: 2023-04-14 13:07:43 -0500 -tags: ipv6 python asyncio websocket PIL +title: Painting Images with IPv6 +date: 2023-04-14 13:07:43 -0500 +tags: ipv6 python asyncio websocket PIL _preview_description: Have you ever painted images with IPv6? I found out how in 30 minutes. --- diff --git a/_posts/2023-07-26-race-conditions-in-signal-handlers.md b/_posts/2023-07-26-race-conditions-in-signal-handlers.md index 2dcabbd..e9be099 100644 --- a/_posts/2023-07-26-race-conditions-in-signal-handlers.md +++ b/_posts/2023-07-26-race-conditions-in-signal-handlers.md @@ -1,10 +1,9 @@ --- layout: default -title: Race Conditions in Signal Handlers -date: 2023-07-26 16:08:12 -0500 -tags: tar signals interrupt handler process unix race-condition -_preview_description: Signals offer a unique, low-level way of communicating with processes. But under certain -circumstances, they can kill processes, even when they should work. +title: Race Conditions in Signal Handlers +date: 2023-07-26 16:08:12 -0500 +tags: tar signals interrupt handler process unix race-condition +_preview_description: Signals offer a unique, low-level way of communicating with processes. But under certain circumstances, they can kill processes, even when they should work. --- Signals offer a unique, low-level way of communicating with processes. But under certain circumstances, they can kill @@ -104,7 +103,7 @@ I am still not sure as to how signal handlers are implemented - I would've assum registered at program start, but that doesn't seem to be the case - or at least, Python can beat them to the punch. Whatever the case, the issue with my implementation is that the signal is sent before the handler is registered, and -the default behavior of the signal takes over. For many signals (including the one[s] I was using), this is to terminate +the default behavior of the signal takes over. For many signals (including the one\[s] I was using), this is to **terminate** the process. ## How to wait for Signal Handlers