Thread (25 messages) flat view 25 messages, 5 authors, 2020-08-10

Re: [PATCH 2/2] hex: make hash_to_hex_algop() and friends thread-safe

From: Christian Couder <hidden>
Date: 2020-06-26 06:03:11

On Fri, Jun 26, 2020 at 1:35 AM Matheus Tavares
[off-list ref] wrote:

[...]
Although these functions don't seem to be causing problems out there for
now (at least not reported), making them thread-safe makes the codebase
more robust against race conditions. We can easily do that replicating
Maybe s/that replicating/that by replicating/.
the static buffer in each thread's local storage.

Original-patch-by: Fredrik Kuivinen [off-list ref]
If Fredrik gave his "Signed-off-by:", maybe it's better to keep it too.
Signed-off-by: Matheus Tavares <redacted>
---
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help