Re: Threads and idle functions
- From: jcupitt gmail com
- Cc: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: Threads and idle functions
- Date: Tue, 3 Jul 2012 07:51:29 +0100
Hi Igor,
On Tuesday, 3 July 2012, Igor Chetverovod wrote
Hi David,
probably you should use macros:
gdk_threads_enter ()
gdk_threads_leave ().
Those macros were used to lock the main gdk thread in earlier versions of
gtk if you wanted to call gtk_ functions from many threads. They are now
deprecated, I think, and you are only supposed to call gtk functions from
the main thread.
They are not necessary for g_idle_add().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]