Re: [wmii] Ruby-IXP freezing with overload patch

From: Suraj N. Kurapati <skurapat_AT_ucsc.edu>
Date: Thu, 28 Sep 2006 22:56:56 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Heins wrote:
> "Suraj N. Kurapati" <skurapat_AT_ucsc.edu> writes:
>
>> I was refactoring the problematic Ruby-IXP code this morning when a
>> really strange thing happened. Normally, here is how you communicate
>> with wmii's ixp server using Ruby-IXP:
>>
>> 1. you send the request to wmii
>>
>> 2. you go to sleep (ruby-ixp wakes you up when the response arrives)
>>
>> 3. you do stuff with the response
>>
>> One time, ruby-ixp woke you up before you even went to sleep. You
>> just ignored that wake-up call, because you are already awake. Then
>> you proceeded to go to sleep. Thus, you would sleep forever, waiting
>> for a response which you had already gotten!
>
> That's sounds to me like the fairy tale of Dornr�schen (engl. Sleeping
> Beauty) brought to reality. Waken for the prince to awake you, but he
> will never come. :-)

Nice. Now there should always be a happy ending, because we ensure
that the princess will not sleep if the prince arrives early. (He
will slay the evil witch!)

>> Both problems should now be fixed in r70. Please try that.
>
> My problem still exists: wmiirc freezes when retagging.

I'm pretty confident that the concurrency bugs have been squashed in
ruby-ixp, so it should be quite stable now. So instead, I will
inspect the ruby-wmii branch that you are using, with the help of
the logs you posted, to find the bug.

Grant me a few days this time; the pile of work on my desk is
quickly growing into a mountain.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFHLWnmV9O7RYnKMcRAobcAJ0Z8Y41r165IOun+gCjBs43RNSL1ACfXhPS
fNCdMaM26eQTwIuA2OBkd8Y=
=phCK
-----END PGP SIGNATURE-----
Received on Fri Sep 29 2006 - 07:56:16 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:14:35 UTC