a) while we're locked, nobody else can access the object (unless its read lock) -> better to unlock earlier b) when you put more code & call other functions between lock / unlock, it becomes easier to deadlock c) defers are slow
In the light of the recent news, I wanted to share an idea I had just recently.
Every popular open-source project on Github eventually becomes overwhelmed by the number of issues. That’s because it’s so easy to create one. You are not required to understand the project. You are not required to read the documentation. All you need is a Github account.
And this is an example of the amplification attack. »