projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perform activity must be public, duhhh.
[feisty_meow.git]
/
kona
/
src
/
org
/
feistymeow
/
process
/
ethread.java
diff --git
a/kona/src/org/feistymeow/process/ethread.java
b/kona/src/org/feistymeow/process/ethread.java
index 26f707458a7d63e34a4ef09268bb9b791ceece19..73e2acd7247b6c863f984b153a065bdaa6358709 100644
(file)
--- a/
kona/src/org/feistymeow/process/ethread.java
+++ b/
kona/src/org/feistymeow/process/ethread.java
@@
-51,7
+51,7
@@
public abstract class ethread implements Runnable
* shot threads executed via runOnce, but matters for the periodic threads started with
* runPeriodic.
*/
* shot threads executed via runOnce, but matters for the periodic threads started with
* runPeriodic.
*/
- abstract boolean performActivity();
+ abstract
public
boolean performActivity();
/**
* Begins execution of the thread.
/**
* Begins execution of the thread.
@@
-74,7
+74,7
@@
public abstract class ethread implements Runnable
{
cancel();
while (true) {
{
cancel();
while (true) {
- if (thread
Running
()) {
+ if (thread
Alive
()) {
try {
Thread.sleep(40);
} catch (InterruptedException e) {
try {
Thread.sleep(40);
} catch (InterruptedException e) {
@@
-102,9
+102,9
@@
public abstract class ethread implements Runnable
}
/**
}
/**
- * Returns true if the thread
isn't null
.
+ * Returns true if the thread
object is still alive. this does not necessarily mean it is currently active
.
*/
*/
- public boolean thread
Running
()
+ public boolean thread
Alive
()
{
synchronized (c_lock) {
return this.c_RealThread != null;
{
synchronized (c_lock) {
return this.c_RealThread != null;
@@
-128,7
+128,7
@@
public abstract class ethread implements Runnable
@Override
public void run()
{
@Override
public void run()
{
- if (!thread
Running
()) {
+ if (!thread
Alive
()) {
return; // stopped before it ever started. how can this be? we just got invoked.
}
try {
return; // stopped before it ever started. how can this be? we just got invoked.
}
try {