Re: Input event reduction
- From: Gabriele Greco <gabriele greco wyscout com>
- To: Stefan Salewski <mail ssalewski de>
- Cc: Emmanuele Bassi <ebassi gmail com>, Nicola Fontana <ntd entidi it>, "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Input event reduction
- Date: Thu, 30 Mar 2017 12:21:49 +0200
Thanks. While I can remember have read your explanations somewhere
already, I really missed that g_main_context_invoke() function.
There is some difference/advantage on calling:
g_main_context_invoke(NULL, func, data)?
instead of
g_idle_add(func, data);
As far as I can see from the function documentations g_main_context_invoke
seems useful when having multiple contexts on different threads, I'm wrong?
--
*Bye,*
* Gabry*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]