1 | *** TEST 13 *** |
---|
2 | TA1 - message_queue_ident - qid => 16#10001# |
---|
3 | TA1 - message_queue_send - BUFFER 1 TO Q 1 |
---|
4 | TA1 - message_queue_send - BUFFER 2 TO Q 1 |
---|
5 | TA1 - task_wake_after - sleep 5 seconds |
---|
6 | TA2 - message_queue_receive - receive from queue 1 - NO_WAIT |
---|
7 | TA2 - buffer received: BUFFER 1 TO Q 1 |
---|
8 | TA2 - message_queue_receive - receive from queue 1 - WAIT FOREVER |
---|
9 | TA2 - buffer received: BUFFER 2 TO Q 1 |
---|
10 | TA2 - message_queue_receive - receive from queue 1 - WAIT FOREVER |
---|
11 | TA3 - message_queue_receive - receive from queue 2 - WAIT FOREVER |
---|
12 | TA1 - message_queue_send - BUFFER 3 TO Q 1 |
---|
13 | TA1 - task_wake_after - sleep 5 seconds |
---|
14 | TA2 - buffer received: BUFFER 3 TO Q 1 |
---|
15 | TA2 - task_set_priority - make self highest priority task |
---|
16 | TA2 - message_queue_receive - receive from queue 2 - WAIT FOREVER |
---|
17 | <pause> |
---|
18 | TA1 - message_queue_send - BUFFER 1 TO Q 2 |
---|
19 | TA2 - buffer received: BUFFER 1 TO Q 2 |
---|
20 | TA2 - message_queue_send - BUFFER 2 TO Q 2 |
---|
21 | TA2 - message_queue_receive - receive from queue 1 - 10 second timeout |
---|
22 | TA1 - message_queue_receive - receive from queue 1 - 10 second timeout |
---|
23 | TA3 - buffer received: BUFFER 2 TO Q 2 |
---|
24 | TA3 - message_queue_broadcast - BUFFER 3 TO Q 1 |
---|
25 | TA2 - buffer received: BUFFER 3 TO Q 1 |
---|
26 | TA2 - message_queue_receive - receive from queue 3 - WAIT FOREVER |
---|
27 | TA3 - number of tasks awakened = 2 |
---|
28 | TA3 - message_queue_receive - receive from queue 3 - WAIT FOREVER |
---|
29 | TA1 - buffer received: BUFFER 3 TO Q 1 |
---|
30 | TA1 - task_delete - delete TA2 |
---|
31 | TA1 - message_queue_send - BUFFER 1 TO Q 3 |
---|
32 | TA1 - task_wake_after - sleep 5 seconds |
---|
33 | TA3 - buffer received: BUFFER 1 TO Q 3 |
---|
34 | TA3 - task_delete - delete self |
---|
35 | <pause> |
---|
36 | TA1 - message_queue_send - BUFFER 2 TO Q 3 |
---|
37 | TA1 - message_queue_send - BUFFER 3 TO Q 3 |
---|
38 | TA1 - message_queue_send - BUFFER 4 TO Q 3 |
---|
39 | TA1 - message_queue_urgent - BUFFER 5 TO Q 3 |
---|
40 | TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER |
---|
41 | TA1 - buffer received: BUFFER 5 TO Q 3 |
---|
42 | TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER |
---|
43 | TA1 - buffer received: BUFFER 2 TO Q 3 |
---|
44 | TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER |
---|
45 | TA1 - buffer received: BUFFER 3 TO Q 3 |
---|
46 | TA1 - message_queue_receive - receive from queue 3 - WAIT FOREVER |
---|
47 | TA1 - buffer received: BUFFER 4 TO Q 3 |
---|
48 | TA1 - message_queue_urgent - BUFFER 3 TO Q 2 |
---|
49 | TA1 - message_queue_receive - receive from queue 2 - WAIT FOREVER |
---|
50 | TA1 - buffer received: BUFFER 3 TO Q 2 |
---|
51 | <pause> |
---|
52 | TA1 - message_queue_delete - delete queue 1 |
---|
53 | TA1 - message_queue_urgent - BUFFER 3 TO Q 2 |
---|
54 | TA1 - message_queue_delete - delete queue 2 |
---|
55 | TA1 - message_queue_flush - empty Q 3 |
---|
56 | TA1 - 0 messages were flushed from Q 3 |
---|
57 | TA1 - message_queue_send - BUFFER 1 TO Q 3 |
---|
58 | TA1 - message_queue_send - BUFFER 2 TO Q 3 |
---|
59 | TA1 - message_queue_send - BUFFER 3 TO Q 3 |
---|
60 | TA1 - message_queue_flush - Q 3 |
---|
61 | TA1 - 3 messages were flushed from Q 3 |
---|
62 | TA1 - message_queue_send - until all message buffers consumed |
---|
63 | TA1 - message_queue_send - all message buffers consumed |
---|
64 | TA1 - message_queue_flush - Q 3 |
---|
65 | TA1 - 100 messages were flushed from Q 3 |
---|
66 | *** END OF TEST 13 *** |
---|