| 2260 | } |
| 2261 | |
| 2262 | bool ShapeBase::destroyThread(U32 slot) |
| 2263 | { |
| 2264 | Thread& st = mScriptThread[slot]; |
| 2265 | if (st.sequence != -1 && st.state != Thread::Destroy) { |
| 2266 | setMaskBits(ThreadMaskN << slot); |
| 2267 | st.state = Thread::Destroy; |
| 2268 | updateThread(st); |
| 2269 | return true; |
| 2270 | } |
| 2271 | return false; |
| 2272 | } |
| 2273 | |
| 2274 | bool ShapeBase::pauseThread(U32 slot) |
| 2275 | { |
no outgoing calls
no test coverage detected