This will allow us to use prio() for event queue priority, which makes more sense. The nesting annotation can be something like: nesting(inside_sync) // formerly prio(high) or nesting(inside_cpow) // formerly prio(urgent)
Created attachment 8796772 [details] [diff] [review] rename prio() to nested() This is a pretty straightforward renaming. The only hard part was trying to get English phrases in comments to make sense using the new language. I sort of settled on "nested level" as a replacement for priority. I think "nested" is a little better than "nesting" because it makes it clear that it's about what the message can nest in rather than what can nest inside it. I left space in the message for a priority bit, which will be used in the next patch. In this patch it's always unset.
Created attachment 8796773 [details] [diff] [review] add prio() annotation This patch adds a prio() annotation to IPDL that is orthogonal to nested(). Right now it doesn't do anything. In bug 1306591 Thinker is going to use it to post messages to a special event queue that will be processed preferentially.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/649af7cb0c87 Rename prio to nested in IPDL (r=dvander) https://hg.mozilla.org/integration/mozilla-inbound/rev/bd7123b6858c Add prio() for message priority to IPDL (r=dvander)
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/f3b4efa44255 Fix rebasing bustage on a CLOSED TREE
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9b9690621e02 Revert "Bug 1306708 - Fix rebasing bustage on a CLOSED TREE" https://hg.mozilla.org/integration/mozilla-inbound/rev/977c8d8ccd4b Revert "Bug 1306708 - Add prio() for message priority to IPDL (r=dvander)" https://hg.mozilla.org/integration/mozilla-inbound/rev/eb29ec2808c1 Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/fb124a19fb68 Rename prio to nested in IPDL (r=dvander) https://hg.mozilla.org/integration/mozilla-inbound/rev/507a5967ec1d Add prio() for message priority to IPDL (r=dvander)