commit | 5617ad30c611f373e16bf10c0feec114faef54ef | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Fri Jul 02 10:50:57 2010 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Fri Jul 02 10:50:57 2010 -0700 |
tree | 5a8a56b01a6531f9287a6406657c2a3ac9053e50 | |
parent | ec47e2e081dcd43dca10d5e2c6856f73e94b0460 [diff] |
Minor clean-up of thread status changes. Eliminate the obsolete self != NULL test when acquiring the heap lock. This should be redundant now that threads are added to the thread list before they are able to allocate. Switch to using a variable of the ThreadStatus type to store thread status values rather than an ordinary int. Change-Id: I8d30e69f20d5321a04f6b49322f13b3577d5a3c4