diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-04 16:45:11 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-04 16:45:11 +0000 |
| commit | 1ab1abbc80edd88d7d6e8d8b8401370cd6a3f766 (patch) | |
| tree | a54f7fc855dc962968ba459fc5ba42c878180df3 /libjava/include | |
| parent | 27928b9a264dfc6c6e5e700f10a9c6a140889cc2 (diff) | |
| download | ppe42-gcc-1ab1abbc80edd88d7d6e8d8b8401370cd6a3f766.tar.gz ppe42-gcc-1ab1abbc80edd88d7d6e8d8b8401370cd6a3f766.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
| -rw-r--r-- | libjava/include/no-threads.h | 13 | ||||
| -rw-r--r-- | libjava/include/posix-threads.h | 12 | ||||
| -rw-r--r-- | libjava/include/quick-threads.h | 13 |
3 files changed, 0 insertions, 38 deletions
diff --git a/libjava/include/no-threads.h b/libjava/include/no-threads.h index 5de33868eaa..d59d7af1d91 100644 --- a/libjava/include/no-threads.h +++ b/libjava/include/no-threads.h @@ -125,19 +125,6 @@ _Jv_ThreadSetPriority (_Jv_Thread_t *, jint) { } -inline void -_Jv_ThreadCancel (_Jv_Thread_t *, void *) -{ - JvFail ("_Jv_ThreadCancel"); -} - -// Like Cancel, but doesn't run cleanups. -inline void -_Jv_ThreadDestroy (_Jv_Thread_t *) -{ - JvFail ("_Jv_ThreadDestroy"); -} - void _Jv_ThreadStart (java::lang::Thread *, _Jv_Thread_t *, _Jv_ThreadStartFunc *meth); diff --git a/libjava/include/posix-threads.h b/libjava/include/posix-threads.h index 5c6cc7bdf43..f4952835440 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); diff --git a/libjava/include/quick-threads.h b/libjava/include/quick-threads.h index 4626add02f9..eb5b916e83f 100644 --- a/libjava/include/quick-threads.h +++ b/libjava/include/quick-threads.h @@ -113,19 +113,6 @@ _Jv_ThreadSetPriority (_Jv_Thread_t *, jint) { } -inline void -_Jv_ThreadCancel (_Jv_Thread_t *data, void *error) -{ - coop_terminate (*data, error); -} - -// Like Cancel, but doesn't run cleanups. -inline void -_Jv_ThreadDestroy (_Jv_Thread_t *data) -{ - coop_terminate (*data, 0); -} - void _Jv_ThreadStart (java::lang::Thread *thread, _Jv_Thread_t *data, _Jv_ThreadStartFunc *meth); |

