GNOME Bugzilla – Bug 632779
gstdataqueue: Only emit g_cond_signal when needed
Last modified: 2010-12-03 14:17:58 UTC
Keep track of which cond we're waiting for and only emit when needed.
Created attachment 172915 [details] [review] gstdataqueue: Only emit g_cond_signal when needed
Review of attachment 172915 [details] [review]: Looks good to me in general but you realize that GST_PADDING usally is 4 and there's no padding left after your change? Also you add two gbooleans (i.e. int) but remove 2 pointers from the padding, I don't think you can assume that the struct padding will be the same on all architectures and the 2 booleans both take the space of a pointer. Maybe we could add a private struct or use a single integer for the two booleans?
commit 7cc08390b91d88581a9b2a38b9d32aa522b268ca Author: Edward Hervey <bilboed@bilboed.com> Date: Wed Oct 13 13:50:22 2010 +0200 gstdataqueue: Only emit g_cond_signal when needed Keep track of which cond we're waiting for and only emit when needed. https://bugzilla.gnome.org/show_bug.cgi?id=632779