From owner-freebsd-gnome@FreeBSD.ORG Tue Nov 18 04:17:54 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 532D716A4CF; Tue, 18 Nov 2003 04:17:54 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A9043FCB; Tue, 18 Nov 2003 04:17:52 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAICHnFY072274; Tue, 18 Nov 2003 04:17:50 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <3FBA108E.7020306@freebsd.org> Date: Tue, 18 Nov 2003 20:29:02 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <3FB3CA31.20309@webonaut.com> <3FB3D047.3010701@webonaut.com> <20031114100638.08c69054.Alexander@Leidinger.net> <3FB7A46D.1050204@webonaut.com> <20031117105535.5afa6df2.Alexander@Leidinger.net> <3FB93BB2.7050806@webonaut.com> <1069104738.737.69.camel@gyros> <20031118110439.19bf6e01.Alexander@Leidinger.net> In-Reply-To: <20031118110439.19bf6e01.Alexander@Leidinger.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD GNOME Users Subject: Re: bug in libkse? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 12:17:54 -0000 Alexander Leidinger wrote: >On Mon, 17 Nov 2003 16:32:18 -0500 >Joe Marcus Clarke 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.