lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 13/04/10 03:05, Sam Roberts wrote:
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.
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.

Matthew