mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-20 18:35:51 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user