News for hackers. Stuff that matters.
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by philosopher1234 on Wednesday March 29, 2023 @02:24PM (#35361184)
what about during a panic?
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by pojntfx on Wednesday March 29, 2023 @02:32PM (#35361297)
Good point, thanks!
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by Patrickmi on Wednesday March 29, 2023 @05:20PM (#35363872)
I think there was no performance hit on panic it was memory leak being fixed long time ago
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by foldr on Thursday March 30, 2023 @04:54AM (#35369854)
They mean that the code could deadlock on a panic if the unlock isn't deferred. (At least, in the case where the panic ended up being handled somewhere and the process didn't just exit.)