| 2411 | } |
| 2412 | |
| 2413 | bool ShapeBase::destroyThread(U32 slot) |
| 2414 | { |
| 2415 | Thread& st = mScriptThread[slot]; |
| 2416 | if (st.sequence != -1 && st.state != Thread::Destroy) { |
| 2417 | setMaskBits(ThreadMaskN << slot); |
| 2418 | st.state = Thread::Destroy; |
| 2419 | updateThread(st); |
| 2420 | return true; |
| 2421 | } |
| 2422 | return false; |
| 2423 | } |
| 2424 | |
| 2425 | bool ShapeBase::pauseThread(U32 slot) |
| 2426 | { |
no outgoing calls
no test coverage detected