Starting threads  Stopping threads

Chapter 32: Using the Thread Manager

Suspending and resuming execution

To suspend the threads in a group, call the ThreadManager::suspend method, specifying the group name. Each thread is suspended when it next returns from its run method.

To resume execution, call the ThreadManager:resume method.





Copyright © 2005. Sybase Inc. All rights reserved. Stopping threads

View this book as PDF