Re: [gtkmm] FAQ suggestion



Murray Cumming <murrayc usa net> writes:

> On Sat, 2003-06-14 at 22:45, Andreas Rottmann wrote:
>> Fredrik Arnerup <e97_far e kth se> writes:
>> 
>> > Citerar Silviu D Minut <minutsil cse msu edu>:
>> >> Why is it bad design? Even if I use locks and mutexes?
>> >
>> > GTK isn't thread safe. Se question 4.12 of the FAQ:
>> > http://www.gtkmm.org/gtkmm2/docs/FAQ/html/index.html#id2805622
>> >
>> What about adding libsigcx (http://libsigcx.sourceforge.net) to this
>> FAQ entry? It provides more features than GLib::Dispatcher.
>
> Sure. Please provide a patch / commit directly, pointing out what
> situations it's useful for.
>
I have a patch attached, as I don't have write access. Someone please
apply it if there are no objections/suggestions for enhancement.

Note that the patch also fixes the filename mentioned in the first
para and line-breaks it.

Index: gtkmm-faq.xml
===================================================================
RCS file: /cvs/gnome/gtkmm/docs/FAQ/gtkmm-faq.xml,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 gtkmm-faq.xml
--- gtkmm-faq.xml	21 Jan 2003 13:37:42 -0000	1.1.1.1
+++ gtkmm-faq.xml	15 Jun 2003 16:35:13 -0000
@@ -15,7 +15,7 @@
   <edition>v1.0.0</edition>
   <date>2001-06-24</date>
   <abstract>
-    <para>Here are some frequently-asked questions and answers about gtkmm. If your questions aren't answered here then please email the <ulink url="&wwwgtkmm;/mailinglist.shtml">gtkmm mailing list</ulink>. If you would like to add to this FAQ, then please patch this file (gtkmm-faq.sgml) or just send your suggestion to the <ulink url="&wwwgtkmm;/mailinglist.shtml">mailing list</ulink>.</para>
+    <para>Here are some frequently-asked questions and answers about gtkmm. If your questions aren't answered here then please email the <ulink url="&wwwgtkmm;/mailinglist.shtml">gtkmm mailing list</ulink>. If you would like to add to this FAQ, then please patch this file (gtkmm-faq.xml) or just send your suggestion to the <ulink url="&wwwgtkmm;/mailinglist.shtml">mailing list</ulink>.</para>
   </abstract>
 </articleinfo>
 
@@ -425,6 +425,17 @@ find much more suitable for my apps.
 <para>
 Note that glibmm (in gtkmm2) comes with Glib::Dispatcher, which implements
 a cross-thread signal using the pipe approach described above.
+</para>
+<para>Andreas Rottmann added:</para>
+<para>
+If you need a more sophisticated cross-thread message-passing
+approach, take a look at <ulink
+url="http://libsigcx.sourceforge.net";>libsigc++ extras</ulink>. It
+provides cross-thread, typesafe slot invocation on top of <ulink
+url="http://libsigc.sourceforge.net";>libsigc++</ulink> and comes with
+a <ulink
+url="http://libsigcx.sourceforge.net/docs/sigcx_starting.html";>gtkmm
+example</ulink>.
 </para>
 </answer>
 </qandaentry>
Andy
-- 
Andreas Rottmann         | Rotty ICQ      | 118634484 ICQ | a rottmann gmx at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

It's GNU/Linux dammit!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]