On Thu, 2009-07-30 at 12:50 +0200, Tomek Grabiec wrote: > diff --git a/include/vm/class.h b/include/vm/class.h > index 2ed5ffe..b827afc 100644 > --- a/include/vm/class.h > +++ b/include/vm/class.h > @@ -2,6 +2,7 @@ > #define _VM_CLASS_H > > #include <assert.h> > +#include <pthread.h> > > #include "vm/field.h" > #include "vm/itable.h" > @@ -53,6 +54,7 @@ struct vm_class { > * class. */ > uint8_t *static_values; > > + pthread_mutex_t static_fixup_mutex; > struct list_head static_fixup_site_list;
Hmm? Why don't we simply have a ->mutex there to protect all of struct vm_class? Why do we need to have a separate lock for "fixup_site_list"? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel