[gst-devel] Re: "threadsafe" signals
Mike Hearn
mike at theoretic.com
Mon Jan 12 08:55:00 CET 2004
On Sun, 11 Jan 2004 22:56:40 +0000, iain wrote:
> Do you mean you want the signal to emit in the thread that the signal
> connection was made?
That is the idea, yes. Libraries which invoke callbacks in threads
other than the one the application is expecting are evil, because then the
user of the library has to write thread safe code too.
It's reasonable to define expecting, in this context, as the thread from
which the connection was made which is not necessarily the main thread.
More information about the gstreamer-devel
mailing list