Marcin Krzyzanowski on Nostr: “Deadlock is a danger whenever a thread tries to hold more than one lock. Happily, ...
“Deadlock is a danger whenever a thread tries to hold more than one lock. Happily, there is a simple rule that guarantees you will never deadlock — always acquire locks in a fixed, global order”
Published at
2024-01-15 23:49:59Event JSON
{
"id": "60006d9167714eb00accf44c6f0868d170daa08c1e97c0bef3c2fc466c5ed326",
"pubkey": "5b631c25e1504e6d5a255d95f2a217772a927dc7167be0e806f5036299f6df72",
"created_at": 1705362599,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/krzyzanowskim/statuses/111762643294017205",
"activitypub"
]
],
"content": "“Deadlock is a danger whenever a thread tries to hold more than one lock. Happily, there is a simple rule that guarantees you will never deadlock — always acquire locks in a fixed, global order”",
"sig": "ee6b48d86864c4bc3a6b9c4d3a58fd4db261ce321b29c401897ab32d4803813be16be60e5f42e8e42d9ae797a122d26d0bf65527a5bb0d49807843c007d1d9b4"
}