Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWCompletionState

Module:  Threads   Package:  Threading


Global Enumerator

Local Index

Members

Header File

#include <rw/thread/RWRunnableHandle.h>

Description

RWCompletionState values describe the completion state of a runnable object. These values are returned by the getCompletionState() member functions of all runnable handles.

Declaration

enum RWCompletionState {
   RW_THR_PENDING,   // Runnable has not yet exited because it
                     // has not been started or is still 
                     // active
   RW_THR_NORMAL,    // Exited normally with optional exit 
                     // code
   RW_THR_FAILED,    // Exited with exception
   RW_THR_CANCELED,  // Exited In response to request for 
                     // cancellation
   RW_THR_TERMINATED,// Exited in response to external 
                     // termination
                     // with optional exit code
   RW_THR_UNEXPECTED // Exiting due to unhandled exception or 
                     // signal(currently shutting down 
                     // process)
};


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.