Precedence of Send commands
Posted: Mon Jul 02, 2012 8:52 pm
I'm really getting to like the Send command.
But I'm a little hesitant about using them more often,
due to concern on how they'll interact with other Handlers.
What happens when 2 or more send commands are concurrent?
Lets say I have 2 handlers: handler.one & handler.two.
handler.one takes a long time. Say 2 minutes to complete.
But during that 2 minutes another Send command triggers handler.two.
which only takes a moment to complete. Does it get precedence?
Is there any way to control precedence?
Or do CPU cycles get split evenly?
But I'm a little hesitant about using them more often,
due to concern on how they'll interact with other Handlers.
What happens when 2 or more send commands are concurrent?
Lets say I have 2 handlers: handler.one & handler.two.
handler.one takes a long time. Say 2 minutes to complete.
But during that 2 minutes another Send command triggers handler.two.
which only takes a moment to complete. Does it get precedence?
Is there any way to control precedence?
Or do CPU cycles get split evenly?