mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
natThread.cc (_Jv_ThreadGetData): New function.
* java/lang/natThread.cc (_Jv_ThreadGetData): New function.
* Makefile.am (java/lang/Thread.h): Add friend function
_Jv_ThreadGetData.
* Makefile.in: Regenerate.
From-SVN: r115646
This commit is contained in:
@@ -318,6 +318,13 @@ _Jv_ThreadRun (java::lang::Thread* thread)
|
||||
thread->finish_ ();
|
||||
}
|
||||
|
||||
_Jv_Thread_t*
|
||||
_Jv_ThreadGetData (java::lang::Thread* thread)
|
||||
{
|
||||
natThread* nt = (natThread*) thread->data;
|
||||
return nt->thread;
|
||||
}
|
||||
|
||||
void
|
||||
java::lang::Thread::start (void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user