On Wed, 13 Nov 2002 19:04:01 +0100
Juan Enrique Agudo Garz�n <[EMAIL PROTECTED]> 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

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to