aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/no-threads.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2001-05-21 23:47:48 -0700
committerPer Bothner <bothner@gcc.gnu.org>2001-05-21 23:47:48 -0700
commitc93d7fae7b9825449c023d42eb40641c0ad80be2 (patch)
treeecfc0fb5d915f5f6596ef061114d1b6b7ec5270a /libjava/include/no-threads.h
parentb4fbaca7cb5c6ff5fb5e24e554d510257cb488eb (diff)
downloadgcc-c93d7fae7b9825449c023d42eb40641c0ad80be2.zip
gcc-c93d7fae7b9825449c023d42eb40641c0ad80be2.tar.gz
gcc-c93d7fae7b9825449c023d42eb40641c0ad80be2.tar.bz2
Implement invocation interface; don't create new thread for main.
From-SVN: r42428
Diffstat (limited to 'libjava/include/no-threads.h')
-rw-r--r--libjava/include/no-threads.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/libjava/include/no-threads.h b/libjava/include/no-threads.h
index 69b6d43..1cd2471 100644
--- a/libjava/include/no-threads.h
+++ b/libjava/include/no-threads.h
@@ -102,11 +102,8 @@ _Jv_InitThreads (void)
{
}
-inline _Jv_Thread_t *
-_Jv_ThreadInitData (java::lang::Thread *)
-{
- return NULL;
-}
+_Jv_Thread_t *
+_Jv_ThreadInitData (java::lang::Thread *);
inline void
_Jv_ThreadDestroyData (_Jv_Thread_t *data)
@@ -130,6 +127,16 @@ _Jv_ThreadSetPriority (_Jv_Thread_t *, jint)
{
}
+inline void
+_Jv_ThreadRegister (_Jv_Thread_t *data)
+{
+}
+
+inline void
+_Jv_ThreadUnRegister (void)
+{
+}
+
void _Jv_ThreadStart (java::lang::Thread *, _Jv_Thread_t *,
_Jv_ThreadStartFunc *meth);