aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/posix-threads.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-11-04 16:45:11 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-11-04 16:45:11 +0000
commit16f39e241a77a9ac573802b131977d1a91294e3a (patch)
treea54f7fc855dc962968ba459fc5ba42c878180df3 /libjava/include/posix-threads.h
parent063174eeda2581061573010014d3f56eb040acb9 (diff)
downloadgcc-16f39e241a77a9ac573802b131977d1a91294e3a.zip
gcc-16f39e241a77a9ac573802b131977d1a91294e3a.tar.gz
gcc-16f39e241a77a9ac573802b131977d1a91294e3a.tar.bz2
quick-threads.h (_Jv_ThreadCancel): Removed.
* include/quick-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/no-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/posix-threads.h (struct _Jv_Thread_t): Removed `exception' field. (_Jv_ThreadCancel): Removed decl. (_Jv_ThreadDestroy): Removed. * posix-threads.cc (_Jv_ThreadCancel): Removed. (throw_cleanup): Removed. (really_start): Don't push or pop cleanup. (_Jv_ThreadInitData): Don't initialize `exception' field. * java/lang/Thread.java (stop): Officially unimplemented. * java/lang/natThread.cc (stop): Officially unimplemented. From-SVN: r30392
Diffstat (limited to 'libjava/include/posix-threads.h')
-rw-r--r--libjava/include/posix-threads.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libjava/include/posix-threads.h b/libjava/include/posix-threads.h
index 5c6cc7b..f4952835 100644
--- a/libjava/include/posix-threads.h
+++ b/libjava/include/posix-threads.h
@@ -76,9 +76,6 @@ typedef struct
// Actual thread id.
pthread_t thread;
-
- // Exception we want to throw when cancelled.
- void *exception;
} _Jv_Thread_t;
typedef void _Jv_ThreadStartFunc (java::lang::Thread *);
@@ -268,15 +265,6 @@ _Jv_ThreadYield (void)
void _Jv_ThreadSetPriority (_Jv_Thread_t *data, jint prio);
-void _Jv_ThreadCancel (_Jv_Thread_t *data, void *error);
-
-// Like Cancel, but doesn't run cleanups.
-inline void
-_Jv_ThreadDestroy (_Jv_Thread_t *)
-{
- JvFail ("_Jv_ThreadDestroy");
-}
-
void _Jv_ThreadStart (java::lang::Thread *thread, _Jv_Thread_t *data,
_Jv_ThreadStartFunc *meth);