00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef OSCL_PROCSTATUS_H_INCLUDED
00026
00027 #define OSCL_PROCSTATUS_H_INCLUDED
00028
00029
00030
00037 class OsclProcStatus
00038 {
00039
00040
00041
00042
00043
00044 public:
00045
00046
00047
00048
00049
00050
00051
00058 enum eOsclProcError
00059 {
00060 SUCCESS_ERROR = 0,
00061 OTHER_ERROR,
00062 TOO_MANY_THREADS_ERROR,
00063 BAD_THREADID_ADDR_ERROR,
00064 MAX_THRDS_REACHED_ERROR,
00065 INVALID_THREAD_ID_ERROR,
00066 NOT_ENOUGH_MEMORY_ERROR,
00067 OUTOFMEMORY_ERROR,
00068 NOT_ENOUGH_RESOURCES_ERROR,
00069 THREAD_1_INACTIVE_ERROR,
00070 ALREADY_SUSPENDED_ERROR,
00071 NOT_SUSPENDED_ERROR,
00072 INVALID_THREAD_ERROR,
00073 INVALID_PARAM_ERROR,
00074 NO_PERMISSION_ERROR,
00075 INVALID_PRIORITY_ERROR,
00076 PSHARED_NOT_ZERO_ERROR,
00077 EXCEED_MAX_COUNT_VARIABLE_ERROR,
00078 THREAD_BLOCK_ERROR,
00079 EXCEED_MAX_SEM_COUNT_ERROR,
00080 INVALID_HANDLE_ERROR,
00081 INVALID_OPERATION_ERROR,
00082 INVALID_FUNCTION_ERROR,
00083 INVALID_ACCESS_ERROR,
00084 INVALID_ARGUMENT_ERROR,
00085 SYSTEM_RESOURCES_UNAVAILABLE_ERROR,
00086 INVALID_POINTER_ERROR,
00087 RELOCK_MUTEX_ERROR,
00088 THREAD_NOT_OWN_MUTEX_ERROR,
00089 MUTEX_LOCKED_ERROR,
00090 WAIT_ABANDONED_ERROR,
00091 WAIT_TIMEOUT_ERROR,
00092 SEM_NOT_SIGNALED_ERROR,
00093 PSHARED_ATTRIBUTE_SETTING_ERROR,
00094 NOT_IMPLEMENTED
00095 } ;
00096
00097
00098
00099 };
00100
00101
00102
00103 #endif
00104