Changeset 884b460 in rtems
- Timestamp:
- 11/12/99 14:52:36 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 95bb279
- Parents:
- f4771656
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/rtems/include/rtems/rtems/tasks.h
rf4771656 r884b460 148 148 149 149 /* 150 * Per task variable structure 151 */ 152 153 struct rtems_task_variable_t { 154 struct rtems_task_variable_t *next; 155 int *ptr; 156 int var; 157 }; 158 159 /* 150 160 * This is the API specific information required by each thread for 151 161 * the RTEMS API to function correctly. … … 154 164 155 165 typedef struct { 156 unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ]; 157 rtems_event_set pending_events; 158 rtems_event_set event_condition; 159 ASR_Information Signal; 166 unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ]; 167 rtems_event_set pending_events; 168 rtems_event_set event_condition; 169 ASR_Information Signal; 170 struct rtems_task_variable_t *task_variables; 160 171 } RTEMS_API_Control; 161 172 … … 406 417 ); 407 418 419 /* 420 * rtems_task_variable_add 421 * 422 * This directive adds a per task variable. 423 */ 424 425 rtems_status_code rtems_task_variable_add( 426 rtems_id tid, 427 int *ptr 428 ); 429 430 /* 431 * rtems_task_variable_delete 432 * 433 * This directive removes a per task variable. 434 */ 435 436 rtems_status_code rtems_task_variable_delete( 437 rtems_id tid, 438 int *ptr 439 ); 408 440 409 441 /* -
cpukit/rtems/include/rtems/rtems/tasks.h
rf4771656 r884b460 148 148 149 149 /* 150 * Per task variable structure 151 */ 152 153 struct rtems_task_variable_t { 154 struct rtems_task_variable_t *next; 155 int *ptr; 156 int var; 157 }; 158 159 /* 150 160 * This is the API specific information required by each thread for 151 161 * the RTEMS API to function correctly. … … 154 164 155 165 typedef struct { 156 unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ]; 157 rtems_event_set pending_events; 158 rtems_event_set event_condition; 159 ASR_Information Signal; 166 unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ]; 167 rtems_event_set pending_events; 168 rtems_event_set event_condition; 169 ASR_Information Signal; 170 struct rtems_task_variable_t *task_variables; 160 171 } RTEMS_API_Control; 161 172 … … 406 417 ); 407 418 419 /* 420 * rtems_task_variable_add 421 * 422 * This directive adds a per task variable. 423 */ 424 425 rtems_status_code rtems_task_variable_add( 426 rtems_id tid, 427 int *ptr 428 ); 429 430 /* 431 * rtems_task_variable_delete 432 * 433 * This directive removes a per task variable. 434 */ 435 436 rtems_status_code rtems_task_variable_delete( 437 rtems_id tid, 438 int *ptr 439 ); 408 440 409 441 /*
Note: See TracChangeset
for help on using the changeset viewer.