Re: [CVS] commit

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Wed Feb 03 1999 - 14:15:15 EST


On Feb 3, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> On Feb 3, 1999, Godmar Back <gback@cs.utah.edu> wrote:
>>> On Feb 3, 1999, Godmar Back <gback@cs.utah.edu> wrote:

>>> > Isn't making the calls to libltdl thread-safe on our TODO list ever
>>> > since it was introduced?

>>> They are thread safe, because libnative is dlopened before the
>>> threading system is started, and, after that, only System.loadLibrary
>>> will load libraries, but it is already synchronized.

>> If that's so, then how is it possible for VTALRM to screw up things?

> There are two thread initializations in initialiseKaffe:
> initNativeThreads and initThreads, and initNative runs in between
> them. I'm not sure when VTALRM is set up...

It's set up in jthread_init(), caled from initNativeThreads(), so it
is enabled before initNative(), which supports my theory that it is
interfering somehow.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:56 EDT