[kaffe] PONNHI a new implementation of Pthreads for Kaffe

Helmer Krämer hkraemer at freenet.de
Wed Nov 13 11:04:43 PST 2002


On Wed, 13 Nov 2002 19:04:01 +0100
Juan Enrique Agudo Garzón <soy_gufo at hotmail.com> wrote:

Hi again,

> PONNHI is a new implementation of pthreads that I am trying to connect
> with kafee.

my previous answer wasn't that appropriate then, sorry.
 
> In this implementation of pthreads the function pthread_init must be
> called before any other call to bilioteca PONNHI.  Pthread_init this
> declared as constructor but are calls like pthread_mutex_lock and
> pthread_mutex_unlock that is made before the execution of pthread_init
> 
> My question is:  Where I can call directly to pthread_init so that it
> is executed before any call to PONNHI?  As it is the block that is
> executed first in Kafee?

Every threading system has to provide a method jthread_init 
which gets called before anything else is done. For kaffe's
current unix-pthreads this can be found in 
kaffe/kaffevm/systems/unix-pthreads/thread-impl.c .

Greetings,
Helmer




More information about the kaffe mailing list