mleku on Nostr: i have a feeling it's something to do with a mutex though, god i hate mutexes... the ...
i have a feeling it's something to do with a mutex though, god i hate mutexes... the stuff i did with the mutexes, it sorta almost seems like a race condition somehow, idk, i found one place that was causing problems with it refusing to shut down, but i have a sneaking suspicion there is another issue hiding in there related to the clients list mutex
i'm gonna look at it tomorrow, i have a feeling it doesn't actually need to keep track of that shit at all, except for the purpose of cleanly closing the sockets at shutdown, so it might be a bug i put in there because i was being overly fastidious
Published at
2025-04-14 20:35:50Event JSON
{
"id": "a9acc45258e896c021cd2a815b697ed3f97efd6fb33d326793245ffa611e7c99",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1744662950,
"kind": 1,
"tags": [
[
"e",
"066469f0d3502579ea72cd7634e7aad10c19eb51f1bc9afe982560c1e964ea3a",
"wss://theforest.nostr1.com/",
"root",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"e",
"293f197caf39eedf2110eaef46041b67c428fa35c6510520282001f141421150",
"wss://nostr.land/",
"reply",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"client",
"jumble"
]
],
"content": "i have a feeling it's something to do with a mutex though, god i hate mutexes... the stuff i did with the mutexes, it sorta almost seems like a race condition somehow, idk, i found one place that was causing problems with it refusing to shut down, but i have a sneaking suspicion there is another issue hiding in there related to the clients list mutex\n\ni'm gonna look at it tomorrow, i have a feeling it doesn't actually need to keep track of that shit at all, except for the purpose of cleanly closing the sockets at shutdown, so it might be a bug i put in there because i was being overly fastidious",
"sig": "acb40e27339afa25c96e2b63d733bee6fc8a3543b6673869db6574016cfd5aac10043dfb2f611fff71858a62274bbf47eeed71e045942e0151ce2ee664dc9fa8"
}