server: Clarify signal emission
authorJens Georg <jensg@openismus.com>
Wed, 20 Mar 2013 16:55:49 +0000 (17:55 +0100)
committerJens Georg <jensg@openismus.com>
Thu, 28 Mar 2013 07:33:37 +0000 (08:33 +0100)
src/librygel-server/rygel-data-source.vala

index 8eebcf6..437f550 100644 (file)
@@ -93,16 +93,22 @@ public interface Rygel.DataSource : GLib.Object {
 
     /**
      * Emitted when the source has produced some data.
+     *
+     * This signal has to be emitted in the main thread.
      */
     public signal void data_available (uint8[] data);
 
     /**
      * Emitted when the source does not have data anymore.
+     *
+     * This signal has to be emitted in the main thread.
      */
     public signal void done ();
 
     /**
      * Emitted when the source encounters a problem during data generation.
+     *
+     * This signal has to be emitted in the main thread.
      */
     public signal void error (Error error);
 }