Skip to content

Commit

Permalink
Match the statuses from CPython
Browse files Browse the repository at this point in the history
  • Loading branch information
groves committed Jan 17, 2009
1 parent de52c22 commit e8e71f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ def __exit__(self, t, v, tb):

ThreadStates = {
java.lang.Thread.State.NEW : 'initial',
java.lang.Thread.State.RUNNABLE: 'runnable',
java.lang.Thread.State.BLOCKED: 'blocked',
java.lang.Thread.State.WAITING: 'waiting',
java.lang.Thread.State.TIMED_WAITING: 'timed_waiting',
java.lang.Thread.State.RUNNABLE: 'started',
java.lang.Thread.State.BLOCKED: 'started',
java.lang.Thread.State.WAITING: 'started',
java.lang.Thread.State.TIMED_WAITING: 'started',
java.lang.Thread.State.TERMINATED: 'stopped',
}

Expand Down

0 comments on commit e8e71f0

Please sign in to comment.