source: rtems/c/src/tests/sptests/sp13/sp13.scn @ b3a6713

Last change on this file since b3a6713 was b3a6713, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 16, 2001 at 9:36:15 PM

2001-08-16 Joel Sherrill <joel@…>

  • src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.

2001-08-16 Joel Sherrill <joel@…>

  • src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking.

2001-08-16 Joel Sherrill <joel@…>

  • include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread.

2001-08-16 Joel Sherrill <joel@…>

  • src/coremutexsurrender.c: Use holder thread not executing thread because even though they may and often are the same it is not guaranteed unless the proper attribute is set.

2001-08-16 Joel Sherrill <joel@…>

  • startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p.

2001-08-16 Joel Sherrill <joel@…>

  • tools/runtest.in: Recognize debug variant of monitor test.

2001-08-16 Joel Sherrill <joel@…>

  • sp13/sp13.scn: Id in screen had wrong class field value.
  • sp13/system.h: Account for message buffer memory.
  • sp13/task2.c: Remove unnecessary check for failure.

2001-08-16 Joel Sherrill <joel@…>

  • sp20/system.h: Account for extra task stacks properly.

2001-08-16 Joel Sherrill <joel@…>

  • include/tmacros.h: Attempt to print errno as further information.
  • Property mode set to 100644
File size: 3.7 KB
Line 
1*** TEST 13 ***
2TA1 - rtems_message_queue_ident - qid => 1c010001
3TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1
4TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1
5TA1 - rtems_task_wake_after - sleep 5 seconds
6TA2 - rtems_message_queue_receive - receive from queue 1 - RTEMS_NO_WAIT
7TA2 - buffer received: BUFFER 1 TO Q 1
8TA2 - rtems_message_queue_receive - receive from queue 1 - RTEMS_WAIT FOREVER
9TA2 - buffer received: BUFFER 2 TO Q 1
10TA2 - rtems_message_queue_receive - receive from queue 1 - RTEMS_WAIT FOREVER
11TA3 - rtems_message_queue_receive - receive from queue 2 - RTEMS_WAIT FOREVER
12TA1 - rtems_message_queue_send - BUFFER 3 TO Q 1
13TA1 - rtems_task_wake_after - sleep 5 seconds
14TA2 - buffer received: BUFFER 3 TO Q 1
15TA2 - rtems_task_set_priority - make self highest priority task
16TA2 - rtems_message_queue_receive - receive from queue 2 - RTEMS_WAIT FOREVER
17<pause>
18TA1 - rtems_message_queue_send - BUFFER 1 TO Q 2
19TA2 - buffer received: BUFFER 1 TO Q 2
20TA2 - rtems_message_queue_send - BUFFER 2 TO Q 2
21TA2 - rtems_message_queue_receive - receive from queue 1 - 10 second timeout
22TA1 - rtems_message_queue_receive - receive from queue 1 - 10 second timeout
23TA3 - buffer received: BUFFER 2 TO Q 2
24TA3 - rtems_message_queue_broadcast - BUFFER 3 TO Q 1
25TA2 - buffer received: BUFFER 3 TO Q 1
26TA2 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
27TA3 - number of tasks awakened = 02
28TA3 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
29TA1 - buffer received: BUFFER 3 TO Q 1
30TA1 - rtems_task_delete - delete TA2
31TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3
32TA1 - rtems_task_wake_after - sleep 5 seconds
33TA3 - buffer received: BUFFER 1 TO Q 3
34TA3 - rtems_task_delete - delete self
35<pause>
36TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3
37TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3
38TA1 - rtems_message_queue_send - BUFFER 4 TO Q 3
39TA1 - rtems_message_queue_urgent - BUFFER 5 TO Q 3
40TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
41TA1 - buffer received: BUFFER 5 TO Q 3
42TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
43TA1 - buffer received: BUFFER 2 TO Q 3
44TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
45TA1 - buffer received: BUFFER 3 TO Q 3
46TA1 - rtems_message_queue_receive - receive from queue 3 - RTEMS_WAIT FOREVER
47TA1 - buffer received: BUFFER 4 TO Q 3
48TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2
49TA1 - rtems_message_queue_receive - receive from queue 2 - RTEMS_WAIT FOREVER
50TA1 - buffer received: BUFFER 3 TO Q 2
51<pause>
52TA1 - rtems_message_queue_delete - delete queue 1
53TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2
54TA1 - rtems_message_queue_delete - delete queue 2
55TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL
56TA1 - 0 messages are pending on Q 3
57TA1 - rtems_message_queue_flush - empty Q 3
58TA1 - 0 messages were flushed from Q 3
59TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3
60TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3
61TA3 - rtems_message_queue_broadcast - NO BUFFER TO Q1
62TA3 - number of tasks awakened = 0
63TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL
64TA1 - 2 messages are pending on Q 3
65TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3
66TA1 - rtems_message_queue_flush - Q 3
67TA1 - 3 messages were flushed from Q 3
68TA1 - rtems_message_queue_send until all message buffers consumed
69TA1 - all message buffers consumed
70TA1 - rtems_message_queue_flush - Q 3
71TA1 - 100 messages were flushed from Q 3
72<pause> 
73TA1 - create message queue of 20 bytes on queue 1
74TA1 - rtems_message_queue_delete - delete queue 1
75<pause> 
76TA1 - rtems_message_queue_create - variable sizes
77TA1 - rtems_message_queue_create and send - variable sizes
78*** END OF TEST 13 ***
Note: See TracBrowser for help on using the repository browser.