[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_signal
- From: Alexander Gladysh <agladysh@...>
- Date: Tue, 13 Apr 2010 14:00:18 +0400
On Tue, Apr 13, 2010 at 05:45, Matthew Wild <mwild1@gmail.com> wrote:
> 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.
That's the original reason why I came looking for the updated version
of lua-signal.
Alexander.