mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-14 12:13:36 -06:00
Fix line-break in post tags in Race Conditions post
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: Painting Images with IPv6
|
title: Painting Images with IPv6
|
||||||
date: 2023-04-14 13:07:43 -0500
|
date: 2023-04-14 13:07:43 -0500
|
||||||
tags: ipv6 python asyncio websocket PIL
|
tags: ipv6 python asyncio websocket PIL
|
||||||
_preview_description: Have you ever painted images with IPv6? I found out how in 30 minutes.
|
_preview_description: Have you ever painted images with IPv6? I found out how in 30 minutes.
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: Race Conditions in Signal Handlers
|
title: Race Conditions in Signal Handlers
|
||||||
date: 2023-07-26 16:08:12 -0500
|
date: 2023-07-26 16:08:12 -0500
|
||||||
tags: tar signals interrupt handler process unix race-condition
|
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
|
_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.
|
||||||
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
|
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.
|
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
|
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.
|
the process.
|
||||||
|
|
||||||
## How to wait for Signal Handlers
|
## How to wait for Signal Handlers
|
||||||
|
|||||||
Reference in New Issue
Block a user