protected internal void AddOverlap(BroadPhaseOverlap overlap) { bool taken = false; overlapAddLock.Enter(ref taken); //overlapAddLock.Enter(); overlaps.Add(overlap); overlapAddLock.Exit(); }
protected internal void AddOverlap(BroadPhaseOverlap overlap) { overlapAddLock.Enter(); overlaps.Add(overlap); overlapAddLock.Exit(); }