News for hackers. Stuff that matters.
Re:Discipline Doesn’t Scale by jayd16 on Wednesday October 21, 2020 @12:58PM (#24849710)
>What is wrong with locking on "this" ?

Instance.this is implicitly public because something else could have a reference to instance.

    synchronize(this){}
that will lock with the following if its inside instance.

    synchronize(instance){}

There are no comments on this comment yet.