June 19, 2018
1:04 p.m.
On Jun 19, 2018, at 2:50 AM, Christophe Demarey <christophe.demarey@inria.fr> wrote:
Le 17 juin 2018 à 20:20, Sean P. DeNigris <sean@clipperadams.com> a écrit :
Also, it seems that "higher" priority in SessionManager means a lower number! This seems opposite of both logic and precedent (see Process), no?
Youâre right. It simplifies sorting but indeed is counter-intuitive. Changing that now will probably break things for people relying on the current behavior.
I guess it seems intuitive to me that 1st place is higher priority than 2nd place or that 1 comes before 2. But you could add a new API with a number that gets translated to/from an internal value. That is the beauty of encapsulation. James Foster