1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>oscl_procstatus.h Source File</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>oscl_procstatus.h</h1><a href="oscl__procstatus_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 1000002 1100003 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1200004 1300005 1400006 1500007 <span class="comment">// OSCL_T H R E A D (T H R E A D I M P L E M E N T A T I O N)</span> 1600008 1700009 1800010 1900011 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 2000012 2100013 2200014 2300025 <span class="preprocessor">#ifndef OSCL_PROCSTATUS_H_INCLUDED</span> 2400026 <span class="preprocessor"></span> 2500027 <span class="preprocessor">#define OSCL_PROCSTATUS_H_INCLUDED</span> 2600028 <span class="preprocessor"></span> 2700029 2800030 29<a name="l00037"></a><a class="code" href="classOsclProcStatus.html">00037</a> <span class="keyword">class </span><a class="code" href="classOsclProcStatus.html">OsclProcStatus</a> 3000038 { 3100039 3200040 3300041 3400042 3500043 3600044 <span class="keyword">public</span>: 3700045 3800046 3900047 4000048 <span class="comment">// Enumerated Error values</span> 4100049 4200050 4300051 44<a name="l00058"></a><a class="code" href="classOsclProcStatus.html#s35">00058</a> <span class="keyword">enum</span> <a class="code" href="classOsclProcStatus.html#s35">eOsclProcError</a> 4500059 { 4600060 <a class="code" href="classOsclProcStatus.html#s35s0">SUCCESS_ERROR</a> = 0, <span class="comment">// Function returned succesfully</span> 4700061 <a class="code" href="classOsclProcStatus.html#s35s1">OTHER_ERROR</a>, <span class="comment">// Function returned some error</span> 4800062 <a class="code" href="classOsclProcStatus.html#s35s2">TOO_MANY_THREADS_ERROR</a>, <span class="comment">// Cannot create another thread</span> 4900063 <a class="code" href="classOsclProcStatus.html#s35s3">BAD_THREADID_ADDR_ERROR</a>, <span class="comment">// The address for the thread id is not correct</span> 5000064 <a class="code" href="classOsclProcStatus.html#s35s4">MAX_THRDS_REACHED_ERROR</a>, <span class="comment">// No more threads can be created in the system</span> 5100065 <a class="code" href="classOsclProcStatus.html#s35s5">INVALID_THREAD_ID_ERROR</a>, <span class="comment">// Invalid thread identifier</span> 5200066 <a class="code" href="classOsclProcStatus.html#s35s6">NOT_ENOUGH_MEMORY_ERROR</a>, <span class="comment">// Not enough storage is available to process this command</span> 5300067 <a class="code" href="classOsclProcStatus.html#s35s7">OUTOFMEMORY_ERROR</a>, <span class="comment">// Not enough storage is available to complete this operation</span> 5400068 <a class="code" href="classOsclProcStatus.html#s35s8">NOT_ENOUGH_RESOURCES_ERROR</a>, <span class="comment">// Not Enough resources available</span> 5500069 <a class="code" href="classOsclProcStatus.html#s35s9">THREAD_1_INACTIVE_ERROR</a>, <span class="comment">// The signal handler cannot be set</span> 5600070 <a class="code" href="classOsclProcStatus.html#s35s10">ALREADY_SUSPENDED_ERROR</a>, <span class="comment">// Thread is already suspended</span> 5700071 <a class="code" href="classOsclProcStatus.html#s35s11">NOT_SUSPENDED_ERROR</a>, <span class="comment">// Thread cannot be suspended</span> 5800072 <a class="code" href="classOsclProcStatus.html#s35s12">INVALID_THREAD_ERROR</a>, <span class="comment">// Referring to invalid thread</span> 5900073 <a class="code" href="classOsclProcStatus.html#s35s13">INVALID_PARAM_ERROR</a>, <span class="comment">// Invalid parameter passed in the API</span> 6000074 <a class="code" href="classOsclProcStatus.html#s35s14">NO_PERMISSION_ERROR</a>, <span class="comment">// Operation not permitted</span> 6100075 <a class="code" href="classOsclProcStatus.html#s35s15">INVALID_PRIORITY_ERROR</a>, <span class="comment">// Priority is not a valid OSCL priority</span> 6200076 <a class="code" href="classOsclProcStatus.html#s35s16">PSHARED_NOT_ZERO_ERROR</a>, <span class="comment">// Trying to create global semaphore</span> 6300077 <a class="code" href="classOsclProcStatus.html#s35s17">EXCEED_MAX_COUNT_VARIABLE_ERROR</a>, <span class="comment">// Exceeding maximum possible value for semaphore count</span> 6400078 <a class="code" href="classOsclProcStatus.html#s35s18">THREAD_BLOCK_ERROR</a>, <span class="comment">// Thread is blocked</span> 6500079 <a class="code" href="classOsclProcStatus.html#s35s19">EXCEED_MAX_SEM_COUNT_ERROR</a>, <span class="comment">// Out of range of semaphore count</span> 6600080 <a class="code" href="classOsclProcStatus.html#s35s20">INVALID_HANDLE_ERROR</a>, <span class="comment">// Invalid handle</span> 6700081 <a class="code" href="classOsclProcStatus.html#s35s21">INVALID_OPERATION_ERROR</a>, <span class="comment">// Invalid operation</span> 6800082 <a class="code" href="classOsclProcStatus.html#s35s22">INVALID_FUNCTION_ERROR</a>, 6900083 <a class="code" href="classOsclProcStatus.html#s35s23">INVALID_ACCESS_ERROR</a>, 7000084 <a class="code" href="classOsclProcStatus.html#s35s24">INVALID_ARGUMENT_ERROR</a>, 7100085 <a class="code" href="classOsclProcStatus.html#s35s25">SYSTEM_RESOURCES_UNAVAILABLE_ERROR</a>, 7200086 <a class="code" href="classOsclProcStatus.html#s35s26">INVALID_POINTER_ERROR</a>, 7300087 <a class="code" href="classOsclProcStatus.html#s35s27">RELOCK_MUTEX_ERROR</a>, 7400088 <a class="code" href="classOsclProcStatus.html#s35s28">THREAD_NOT_OWN_MUTEX_ERROR</a>, 7500089 <a class="code" href="classOsclProcStatus.html#s35s29">MUTEX_LOCKED_ERROR</a>, 7600090 <a class="code" href="classOsclProcStatus.html#s35s30">WAIT_ABANDONED_ERROR</a>,<span class="comment">//thread terminated while waiting</span> 7700091 <a class="code" href="classOsclProcStatus.html#s35s31">WAIT_TIMEOUT_ERROR</a>, <span class="comment">//timed wait expired without acquiring</span> 7800092 <a class="code" href="classOsclProcStatus.html#s35s32">SEM_NOT_SIGNALED_ERROR</a>, <span class="comment">//trywait returned without acquiring</span> 7900093 <a class="code" href="classOsclProcStatus.html#s35s33">PSHARED_ATTRIBUTE_SETTING_ERROR</a>, <span class="comment">// Error at setting pthread attributes</span> 8000094 <a class="code" href="classOsclProcStatus.html#s35s34">NOT_IMPLEMENTED</a> <span class="comment">//function not implemented on this platform.</span> 8100095 } ; 8200096 8300097 8400098 8500099 }; 8600100 8700101 8800102 8900103 <span class="preprocessor">#endif</span> 9000104 <span class="preprocessor"></span> 91</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 92<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 93</small></address> 94</body> 95</html> 96