[gst-devel] "threadsafe" signals

Colin Walters walters at verbum.org
Fri Jan 9 13:43:00 CET 2004


On Fri, 2004-01-09 at 13:53, Benjamin Otte wrote:

> 2) If the signal isn't emitted in a thread but from the main context, you
> get a deadlock.

That's easy to fix - just do something similar to what
lib/rb-thread-helpers.c does.  Test if you're in the main thread, and if
so just emit the signal directly.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20040109/a41fdbb4/attachment.pgp>


More information about the gstreamer-devel mailing list