* gcse.c (delete_null_pointer_checks): Fix typo in this change:
[official-gcc.git] / libjava / no-threads.cc
blob22c30f637e2814227efafcc0284f7eac52f2965a
1 // no-thread.cc - Implementation of `no threads' threads.
3 /* Copyright (C) 1998, 1999 Cygnus Solutions
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 details. */
11 #include <config.h>
13 #include <gcj/cni.h>
14 #include <jvm.h>
15 #include <java/lang/Thread.h>
17 java::lang::Thread *_Jv_OnlyThread = NULL;
19 void
20 _Jv_ThreadStart (java::lang::Thread *thread, _Jv_Thread_t *,
21 _Jv_ThreadStartFunc *meth)
23 JvAssert (! _Jv_OnlyThread);
24 _Jv_OnlyThread = thread;
25 (*meth) (thread);