microsoft / msopentech-tools-for-intellij

Plugin for easy and fast development to enable developers of Android Apps to connect to Office 365 services and Azure Mobile Services, and developers of Java middleware to connect to Azure compute services
Apache License 2.0
28 stars 34 forks source link

[Auth] Implement AADManager, Office365Manager and AzureManager #346

Closed leotilli closed 9 years ago

avranju commented 9 years ago

In general when using reentrant locks, passing true for the fairness parameter has a performance cost. Unless there's an explicit need for lock behavior to be ordered I'd say we should pass false for this.

leotilli commented 9 years ago

I've been passing true to reentrant locks, in order to prevent starvation scenarios; in my mind it seemed more important than the performance hit. We could change locks fairness to false.

leotilli commented 9 years ago

Removed fairness from locks.