Changeset b3a6713 in rtems
- Timestamp:
- 08/16/01 21:36:15 (22 years ago)
- Children:
- cbdb144
- Parents:
- 5ccb03b
- Location:
- c/src
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/src/mqueuesendsupp.c
r5ccb03b rb3a6713 88 88 89 89 _Thread_Enable_dispatch(); 90 91 /* 92 * If we had to block, then this is where the task returns 93 * after it wakes up. The returned status is correct for 94 * non-blocking operations but if we blocked, then we need 95 * to look at the status in our TCB. 96 */ 97 98 if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 99 msg_status = _Thread_Executing->Wait.return_code; 100 90 101 if ( !msg_status ) 91 return 0;102 return msg_status; 92 103 93 104 set_errno_and_return_minus_one( -
c/src/exec/rtems/src/msgqsubmit.c
r5ccb03b rb3a6713 133 133 134 134 _Thread_Enable_dispatch(); 135 /* 136 * Since this API does not allow for blocking sends, we can directly 137 * return the returned msg_status. 138 */ 139 135 140 return 136 141 _Message_queue_Translate_core_message_queue_return_code( msg_status ); -
c/src/exec/score/include/rtems/score/coremsg.h
r5ccb03b rb3a6713 96 96 CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT, 97 97 CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED, 98 CORE_MESSAGE_QUEUE_STATUS_TIMEOUT 98 CORE_MESSAGE_QUEUE_STATUS_TIMEOUT, 99 CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT 99 100 } CORE_message_queue_Status; 100 101 -
c/src/exec/score/src/coremsgsubmit.c
r5ccb03b rb3a6713 172 172 } 173 173 174 return CORE_MESSAGE_QUEUE_STATUS_ SUCCESSFUL;174 return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT; 175 175 } -
c/src/exec/score/src/coremutexsurrender.c
r5ccb03b rb3a6713 87 87 } 88 88 89 _Thread_Executing->resource_count--;89 holder->resource_count--; 90 90 the_mutex->holder = NULL; 91 91 the_mutex->holder_id = 0; -
c/src/lib/libbsp/powerpc/psim/startup/linkcmds
r5ccb03b rb3a6713 65 65 *(.gnu.warning) 66 66 } >RAM 67 .init : { *(.init) } >RAM68 .fini : { *(.fini) } >RAM67 .init : { __init = .; *(.init) } >RAM 68 .fini : { __fini = .; *(.fini) } >RAM 69 69 .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM 70 70 .rodata1 : { *(.rodata1) } >RAM -
c/src/lib/libbsp/sparc/erc32/tools/runtest.in
r5ccb03b rb3a6713 132 132 133 133 case $tname in 134 monitor )134 monitor*) 135 135 if [ $run_to_completion = "yes" ] 136 136 then -
c/src/tests/sptests/sp13/sp13.scn
r5ccb03b rb3a6713 1 1 *** TEST 13 *** 2 TA1 - rtems_message_queue_ident - qid => 1 80100012 TA1 - rtems_message_queue_ident - qid => 1c010001 3 3 TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1 4 4 TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1 -
c/src/tests/sptests/sp13/system.h
r5ccb03b rb3a6713 54 54 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE 55 55 56 #define CONFIGURE_MEMORY_OVERHEAD 32 56 57 #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) 57 58 -
c/src/tests/sptests/sp13/task2.c
r5ccb03b rb3a6713 101 101 Fill_buffer( "BUFFER 2 TO Q 2", (long *)buffer ); 102 102 puts( "TA2 - rtems_message_queue_send - BUFFER 2 TO Q 2" ); 103 directive_failed( status, "rtems_message_queue_send" );104 105 103 status = rtems_message_queue_send( Queue_id[ 2 ], buffer, MESSAGE_SIZE ); 106 104 directive_failed( status, "rtems_message_queue_send" ); -
c/src/tests/sptests/sp20/system.h
r5ccb03b rb3a6713 46 46 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE 47 47 48 #define CONFIGURE_EXTRA_TASK_STACKS ( 15* RTEMS_MINIMUM_STACK_SIZE)48 #define CONFIGURE_EXTRA_TASK_STACKS (6 * 3 * RTEMS_MINIMUM_STACK_SIZE) 49 49 50 50 #include <confdefs.h> -
c/src/tests/support/include/tmacros.h
r5ccb03b rb3a6713 92 92 check_dispatch_disable_level( _level ); \ 93 93 if ( (_stat) != (_desired) ) { \ 94 printf( "\n%s FAILED -- expected (%s) got (%s)\n", \ 95 (_msg), strerror(_desired), strerror(_stat) ); \ 94 printf( "\n%s FAILED -- expected (%d - %s) got (%d - %s)\n", \ 95 (_msg), _desired, strerror(_desired), _stat, strerror(_stat) ); \ 96 printf( "\n FAILED -- errno (%d - %s)\n", \ 97 errno, strerror(errno) ); \ 96 98 fflush(stdout); \ 97 99 exit( _stat ); \
Note: See TracChangeset
for help on using the changeset viewer.