configure.host: Enable hash synchronization for alpha*-*.
* configure.host: Enable hash synchronization for alpha*-*. * include/posix-threads.h (_Jv_ThreadSelf): Added inline function for alpha. * java/lang/natObject.cc (compare_and_swap, release_set, compare_and_swap_release): Added inline functions for alpha. From-SVN: r44251
This commit is contained in:
parent
0b6301aebe
commit
092a1f5ab3
4 changed files with 65 additions and 0 deletions
|
@ -250,6 +250,24 @@ _Jv_ThreadSelf (void)
|
|||
|
||||
#endif /* __ia64__ */
|
||||
|
||||
#ifdef __alpha__
|
||||
|
||||
#include <asm/pal.h>
|
||||
|
||||
typedef unsigned long _Jv_ThreadId_t;
|
||||
|
||||
inline _Jv_ThreadId_t
|
||||
_Jv_ThreadSelf (void)
|
||||
{
|
||||
unsigned long id;
|
||||
__asm__ ("call_pal %1\n\tmov $0, %0" : "=r"(id) : "i"(PAL_rduniq) : "$0");
|
||||
return id;
|
||||
}
|
||||
|
||||
#define JV_SELF_DEFINED
|
||||
|
||||
#endif /* __alpha__ */
|
||||
|
||||
#if defined(SLOW_PTHREAD_SELF)
|
||||
|
||||
typedef pthread_t _Jv_ThreadId_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue