[gtkmm] Still on threads
- From: Enrico Costanza <ec142 york ac uk>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Still on threads
- Date: Fri, 28 Feb 2003 14:21:51 +0000
Hi all.
I have ported my code to gtkmm2, and I am still struggling with
multithreading.
I am trying to use:
Glib::Thread::create( SigC::slot_class(*this,
&MyCameraFramework::soundCallback), false);
(as in the example program dispatcher.cc) but the compiler complains:
no matching function for call to `Glib::Thread::create (SigC::Slot0, bool)'
/usr/include/gtkmm-2.0/glibmm/thread.h:222: candidates are:
static Glib::Thread *Glib::Thread::create (const SigC::Slot0 &, bool)
/usr/include/gtkmm-2.0/glibmm/thread.h:263:
static Glib::Thread *Glib::Thread::create (const SigC::Slot0 &, long
unsigned int, bool, bool, Glib::ThreadPriority)
I have noticed that in the examples about threads in the documentation
an anonimous namespace is used. Is this important to the threads?
Regards,
Enrico Costanza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]