|
On 13/04/10 03:05, Sam Roberts wrote:
We encountered an issue with it in Prosody whereby multiple signals in quick succession (that is, multiple signals before the Lua callback is actually called) would mess up the lua-signal state and cause looping. Counting/queuing the signals seems an appropriate solution to me, but do correct me if I'm wrong.And why do you go through the effort of counting signals? Signal delivery is not reliable, the pending signals are a bitmask, there is no counting for non-realtime signals.
Matthew