Am 04.05.2011 00:03, schrieb Thomas Stover:
> On Tue, 3 May 2011 22:50:38 +0200, Tadej Borovšak
> wrote:
>
>> All that being said, maybe you could "cook up" a patch for API docs
>> with this info? I'm sure people would find it useful.
>>
>
> Is there a starting place to read how to go about doin
On Tue, 3 May 2011 22:50:38 +0200, Tadej Borovšak
wrote:
> All that being said, maybe you could "cook up" a patch for API docs
> with this info? I'm sure people would find it useful.
>
Is there a starting place to read how to go about doing that?
--
www.thomasstover.com
FLYNN LIVES!
Hi.
> That did help (I think I still have an unrelated leak). I think a few
> things could be made more clear in the docs (I'm not 100% sure I'm correct
> either):
I must agree with you here. Docs are a bit scarce on this topic. But ...
> -A newly created source (from g_idle_source_new() ) has a
On Tue, 3 May 2011 22:06:02 +0200, Tadej Borovšak
wrote:
> Hi.
>
>> I'm repetitively calling g_idle_source_new(), g_source_set_callback(),
>> g_source_attach() to get an idle callback to run in a separate thread.
>> The
>> callback in question always exits with FALSE.
>
> Do you call g_source_un
Hi.
> I'm repetitively calling g_idle_source_new(), g_source_set_callback(),
> g_source_attach() to get an idle callback to run in a separate thread. The
> callback in question always exits with FALSE.
Do you call g_source_unref() after attaching it?
Cheers, Tadej.
--
Tadej Borovšak
tadeboro.b
Le 03/05/2011 20:49, Thomas Stover a écrit :
> trying to stop a memory leak (2.24.1 x86_64)...
>
> I'm repetitively calling g_idle_source_new(), g_source_set_callback(),
> g_source_attach() to get an idle callback to run in a separate thread. The
> callback in question always exits with FALSE.
trying to stop a memory leak (2.24.1 x86_64)...
I'm repetitively calling g_idle_source_new(), g_source_set_callback(),
g_source_attach() to get an idle callback to run in a separate thread. The
callback in question always exits with FALSE.
The docs for GSourceFunc() state:
...
Returns :