Renesas M3T-MR100 Network Card User Manual


 
- 71 -
ext_tsk Terminate invoking task
[
[
[
[
C
C
L
L
a
a
n
n
g
g
u
u
a
a
g
g
e
e
A
A
P
P
I
I
]
]
]
]
ER ercd = ext_tsk();
z
z
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
None
z
z
R
R
e
e
t
t
u
u
r
r
n
n
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
Not return from this service call
[
[
[
[
A
A
s
s
s
s
e
e
m
m
b
b
l
l
y
y
l
l
a
a
n
n
g
g
u
u
a
a
g
g
e
e
A
A
P
P
I
I
]
]
]
]
.include mr100.inc
ext_tsk
z
z
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
None
z
z
R
R
e
e
g
g
i
i
s
s
t
t
e
e
r
r
c
c
o
o
n
n
t
t
e
e
n
n
t
t
s
s
a
a
f
f
t
t
e
e
r
r
s
s
e
e
r
r
v
v
i
i
c
c
e
e
c
c
a
a
l
l
l
l
i
i
s
s
i
i
s
s
s
s
u
u
e
e
d
d
Not return from this service call
[
[
[
[
E
E
r
r
r
r
o
o
r
r
c
c
o
o
d
d
e
e
]
]
]
]
Not return from this service call
[
[
[
[
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
a
a
l
l
d
d
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
]
]
]
]
This service call terminates the invoking task. In other words, it places the issuing task from RUNNING state into DOR-
MANT state. However, if the activation request count for the issuing task is 1 or more, the activation request count is
decremented by 1, and processing similar to that of act_tsk or iact_tsk is performed. In that case, the task is placed from
DORMANT state into READY state. The task has its extended information passed to it as parameter when the task starts
up.
This service call is designed to be issued automatically at return from a task.
In the invocation of this service call, the resources the issuing task had acquired previously (e.g., semaphore) are not re-
leased.
This service call can only be used in task context. This service call can be used even in a CPU locked state, but cannot be
used in non-task context.