[interfacekit] BMessageRunner: negative interval

Hi,

a question about behavioral compatibility. BMessageRunner can be 
initialized with a negative time interval. This is semantical nonsense, 
but it seems to cause the messages to be sent as fast as possible. I 
suspect that this is a bug caused by sloppy parameter checking, since 
supplying 0 for the interval is not allowed -- InitCheck() returns 
B_ERROR in that case.

I tend to forbid all values <= 0. Are there objections?

Oh I forgot to mention, that those negative numbers work well with 
small positive count parameters (the number specifying how many times 
the message shall be sent), but obviously the target's message port is 
flooded when count is -1 (unlimited number of repetitions).

CU, Ingo



Other related posts: