* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
From-SVN: r51468
This commit is contained in:
parent
a3c5fa34ca
commit
6ad4639794
|
@ -1,3 +1,7 @@
|
||||||
|
2002-03-27 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
|
||||||
|
|
||||||
2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
|
2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
|
||||||
|
|
||||||
* include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
|
* include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
|
||||||
|
|
|
@ -256,8 +256,8 @@ typedef unsigned long _Jv_ThreadId_t;
|
||||||
inline _Jv_ThreadId_t
|
inline _Jv_ThreadId_t
|
||||||
_Jv_ThreadSelf (void)
|
_Jv_ThreadSelf (void)
|
||||||
{
|
{
|
||||||
unsigned long id;
|
register unsigned long id __asm__("$0");
|
||||||
__asm__ ("call_pal %1\n\tmov $0, %0" : "=r"(id) : "i"(PAL_rduniq) : "$0");
|
__asm__ ("call_pal %1" : "=r"(id) : "i"(PAL_rduniq));
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue