viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218
authorDerrick Brashear <shadow@dementia.org>
Mon, 18 Feb 2008 19:19:12 +0000 (19:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Feb 2008 19:19:12 +0000 (19:19 +0000)
commit7421feda944d5fa05f5223528a69f23a7bb0b724
tree2f458ded5b7c0f20883ff8c3b632b73b0798ac7d
parent7a290f39ec303cb3473f63f7d9c634e767191279
viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218

LICENSE IPL10

my code, though, this is a result of a problem reported by Chaskiel Grundman and analysis by him, Jeff Altman and myself.

I'm just checking in my implementation. In any case, the issue this addresses
is one where we can end up in makecall_waiting in rx on multiple connections
when we multibreakcallback because the lists are sorted differently and each has "pending" calls on a different connection. by sorting by index we will not
block on another caller while also holding what they're after
src/viced/callback.c