summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/sptests/sp22/sp22.scn
blob: 8422e73141447563ead3dca305cfc48dad56471e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
*** TEST 22 ***
INIT - timer_create - creating timer 1
INIT - timer 1 has id (16#10001#)
TA1 - timer_ident - identing timer 1
TA1 - timer 1 has id (16#10001#)
TA1 - clock_get -  9: 0: 0   12/31/1988
TA1 - timer_after - timer 1 in 3 seconds
TA1 - task_suspend( SELF ) 
TA1 - clock_get -  9: 0: 3   12/31/1988
TA1 - timer_after - timer 1 in 3 seconds
TA1 - task_wake_after - 1 second
TA1 - clock_get -  9: 0: 4   12/31/1988
TA1 - timer_reset - timer 1
TA1 - task_suspend( SELF )
TA1 - clock_get -  9: 0: 7   12/31/1988
<pause>
TA1 - timer_after - timer 1 in 3 seconds
TA1 - timer_cancel - timer 1
TA1 - clock_get -  9: 0: 7   12/31/1988
TA1 - timer_when - timer 1 in 3 seconds
TA1 - task_suspend( SELF )
TA1 - clock_get -  9: 0:10   12/31/1988
TA1 - timer_when - timer 1 in 3 seconds
TA1 - task_wake_after - 1 second
TA1 - clock_get -  9: 0:11   12/31/1988
TA1 - timer_cancel - timer 1
TA1 - task_wake_after - YIELD (only task at priority)
TA1 - timer_delete - timer 1
*** END OF TEST 22 ***