configure.in: Only allow hash synchronization when POSIX threads are enabled.
* configure.in: Only allow hash synchronization when POSIX threads are enabled. * java/lang/natObject.cc (alloc_heavy): Properly find `init' field of sync info object. From-SVN: r42530
This commit is contained in:
parent
0fff422242
commit
cf6b8de459
4 changed files with 245 additions and 232 deletions
|
@ -691,7 +691,7 @@ alloc_heavy(obj_addr_t addr, hash_entry *he)
|
|||
_Jv_MutexInit (&(hl -> si.mutex));
|
||||
_Jv_CondInit (&(hl -> si.condition));
|
||||
# if defined (_Jv_HaveCondDestroy) || defined (_Jv_HaveMutexDestroy)
|
||||
si->init = true; // needed ?
|
||||
hl->si.init = true; // needed ?
|
||||
# endif
|
||||
hl -> next = he -> heavy_locks;
|
||||
he -> heavy_locks = hl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue