Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 20:29:02 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: bug in libkse?
Message-ID:  <3FBA108E.7020306@freebsd.org>
In-Reply-To: <20031118110439.19bf6e01.Alexander@Leidinger.net>
References:  <3FB3CA31.20309@webonaut.com> <opryk9v5m88ckrg5@smtp.central.cox.net>	<3FB3D047.3010701@webonaut.com> <opryle9h1z8ckrg5@smtp.central.cox.net> <20031114100638.08c69054.Alexander@Leidinger.net> <3FB7A46D.1050204@webonaut.com>	<opryq7t10z8ckrg5@smtp.central.cox.net> <20031117105535.5afa6df2.Alexander@Leidinger.net> <oprysu83zc8ckrg5@smtp.central.cox.net>	<3FB93BB2.7050806@webonaut.com> <1069104738.737.69.camel@gyros> <20031118110439.19bf6e01.Alexander@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:

>On Mon, 17 Nov 2003 16:32:18 -0500
>Joe Marcus Clarke <marcus@marcuscom.com> wrote:
>
>  
>
>>>>>Has anyone contacted the threads people? There's either a bug in libkse
>>>>>or in libc_r.
>>>>>          
>>>>>
>>>>No, I haven't.. I didn't know there has any bug in libkse or libc_r 
>>>>that cause gdesklets not work. Well, I don't know how to explain and 
>>>>show there's bug in libc_r or libkse. I just explain about gdesklets 
>>>>work a little on libkse, but not on libc_r? Also, show the code of 
>>>>SysInfo or Weather's thread?
>>>>
>>>>        
>>>>
>>>i think i've found the problem. could someone approve this?
>>>to make it run, please change gdesklets/sensor/Sensor.py in this way:
>>>      
>>>
>>That seems reasonable to me.  C applications need to do
>>gdk_threads_init() before using threads.
>>    
>>
>
>I still think this is 'some kind of' a bug in libkse. Even if using
>libkse is possible without calling threads_init() it should IMHO print
>some kind of a message if it isn't called (if possible).
>
>David, can you throw some light on this issue?
>
>  
>
The information is not enough, what is libkse problem ?
if gdk needs to call a routine to initialize its internal data
structure before enabling threading support, it is not libkse's
problem, thread library does not know what upper layer library
want to do.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FBA108E.7020306>