Changeset 438 for trunk/kernel/kern/thread.h
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.h
r437 r438 87 87 #define THREAD_BLOCKED_SEM 0x0020 /*! thread wait semaphore */ 88 88 #define THREAD_BLOCKED_PAGE 0x0040 /*! thread wait page access */ 89 #define THREAD_BLOCKED_IDLE 0x0080 /*! thread RPC wait RPC_FIFO non empty */ 89 90 #define THREAD_BLOCKED_USERSYNC 0x0100 /*! thread wait (cond/mutex/barrier) */ 90 91 #define THREAD_BLOCKED_RPC 0x0200 /*! thread wait RPC completion */ … … 286 287 287 288 /*************************************************************************************** 288 * This function initializes an existing thread descriptor from arguments values. 289 * This function is called by the kernel_init() function to initialize the IDLE thread. 290 * It initializes an existing thread descriptor from arguments values. 289 291 * The THREAD_BLOCKED_GLOBAL bit is set, and the thread must be activated to start. 290 * It is called by the kernel_init() function to initialize the IDLE thread.291 292 *************************************************************************************** 292 293 * @ thread : pointer on existing thread descriptor. … … 297 298 * @ returns 0 if success / returns EINVAL if error 298 299 **************************************************************************************/ 299 error_t thread_ kernel_init( thread_t * thread,300 301 302 303 300 error_t thread_idle_init( thread_t * thread, 301 thread_type_t type, 302 void * func, 303 void * args, 304 lid_t core_lid ); 304 305 305 306 /***************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.