projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89999c6
)
* src/lib/vm/reference/java/lang/VMThread.java: Updated to GNU
author
twisti
<none@none>
Wed, 28 Jun 2006 22:38:42 +0000
(22:38 +0000)
committer
twisti
<none@none>
Wed, 28 Jun 2006 22:38:42 +0000
(22:38 +0000)
Classpath version.
src/lib/vm/reference/java/lang/VMThread.java
patch
|
blob
|
history
diff --git
a/src/lib/vm/reference/java/lang/VMThread.java
b/src/lib/vm/reference/java/lang/VMThread.java
index d2f64c42ed26d9391c7faad8c722650a2d464acb..2871beb92adfd0fde4100e15f78b058c93886a89 100644
(file)
--- a/
src/lib/vm/reference/java/lang/VMThread.java
+++ b/
src/lib/vm/reference/java/lang/VMThread.java
@@
-447,4
+447,16
@@
final class VMThread
// }
// }
static native boolean holdsLock(Object obj);
+
+ /**
+ * Returns the current state of the thread.
+ * The value must be one of "BLOCKED", "NEW",
+ * "RUNNABLE", "TERMINATED", "TIMED_WAITING" or
+ * "WAITING".
+ *
+ * @return a string corresponding to one of the
+ * thread enumeration states specified above.
+ */
+ native String getState();
+
}