[omniNotify] Priority OrderPolicy

Bob Gruber bob.gruber at gmail.com
Sat Apr 16 16:13:47 BST 2005


FIFO within priority seems preferable.

Currently Duncan and I are the only ones listed as admins (and
developers) on the sourceforge site for omninotify, but I do not think
it is hard to add other developers. Or you can submit a patch to this
list and one of us can put it in.

On 4/13/05, Ronan Heffernan <ronansan at gmail.com> wrote:
> Working with omniNotify 2.1 (x86), I notice the following behaivor: default
> OrderPolicy is FIFO (agrees with code), but when I change the OrderPolicy on
> a ProxyPushSupplier to 'Priority', the Priority is honored correctly, but
> within a set of messages with the same Priority, the order of the messages
> seems to be LIFO.  Is this behavior widely known?  As I understand the
> Notification spec, LIFO-within-Priority is perfectly compliant, but for a
> certain project, I need FIFO-within-Priority (or at least approximately FIFO
> within Priority, the LIFO inversion is definitely a problem for me).  
>  
>  I am considering making this change myself (in the queue insert method, it
> seems).  Should I contribute this code change back into omniNotify?  Who
> needs to decide whether such a patch should go into the codebase?  I will
> probably enclose this change in #ifdef - #endif blocks if I can keep it
> clean, is that how it should be wrapped for public use?  Does anyone have
> any tips before I do this?  Thanks.
>  
>  --ronan
>  
> _______________________________________________
> omninotify-list mailing list
> omninotify-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omninotify-list
> 
> 
>



More information about the omninotify-list mailing list