Войти:
Оценок - 0, средний балл: 0 ( )

Инструкция по эксплуатации HP, модель MPE/iX 6.0 Operating System

Производитель: HP
Размер: 194 kb
Название файла:
Язык инструкции:enfrnlpt
Перейти к скачиванию



К этому устройству также есть другие инструкции:

Фрагмент инструкции


In
Example
2-4,
b oth
pro cesses
ha
v
e
agreed
to
RIN
managemen
t,
asso
ciating
RIN
1
(designated
in
the
program
as
LPRIN )
with
a
line
prin
ter
(designated
as
LP ).
When
PARENT
rst
accesses
LP ,
CHILD
has
not
b een
created,
and
so
RIN
managemen
t
is
not
y
et
required.
T
o
guarantee
exclusiv
e
access
to
LP
rst,
PARENT
lo
c
ks
LPRIN
b efore
CHILD
is
activ
ated.
When
PARENT
nishes
with
LP ,
it
unlo c
ks
LPRIN ,
th
us
making
LPRIN
a
v
ailable
to
b e
lo
c
k
ed.
In
this
case,
CHILD
has
b een
blo
c
k
ed
and
is
w
aiting
for
LPRIN
to
b ecome
a
v
ailable.
When
CHILD
attempts
to
lo
c
k
LPRIN ,
CHILD
passes
a
v
alue
to
LOCKLOCRIN
indicating
that
execution
should
b e
blo
c
k
ed
un
til
LOCKLOCRIN
can
successfully
return
the
lo
c
k
ed
RIN.
The
blo
c
king
o ccurs
b ecause
PARENT
curren
tly
has
LPRIN
lo
c
k
ed.
Execution
con
tinues
only
when
PARENT
unlo c
ks
LPRIN ,
th
us
making
RIN
1
a
v
ailable
to
b e
lo
c
k
ed
b
y
CHILD .
While
CHILD
has
LPRIN
lo
c
k
ed,
PARENT
is
unable
to
lo
c
k
LPRIN
un
til
it
is
unlo c
k
ed
b
y
CHILD .
Releasing
Local
RINs
Y
ou
can
use
the
FREELOCRIN
in
trinsic
to
release
all
lo
cal
RINs
y
our
program
previously
acquired
with
GETLOCRIN .
F
ollo wing
is
an
example
of
a
call
to
FREELOCRIN :
FREELOCRIN;
An
y
pro cess
in
y
our
program's
pro cess
structure
can
release
lo
cal
RINs.
If
y
ou
do
not
use
FREELOCRIN
to
release
lo
cal
RINs,
they
are
released
to
MPE
XL
when
y
our
program
terminates.
Identifying
a
Local
RIN
Lock
er
The
LOCRINOWNER
in
trinsic
iden
ties
the
pro cess
in
y
our
program's
pro cess
structure
that
has
a
particular
lo
cal
RIN
lo
c
k
ed.
If
the
RIN
is
lo
c
k
ed
b
y
the
paren
t
of
the
calling
pro cess,
LOCRINOWNER
returns
a
zero.
If
the
RIN
is
lo
c
k
ed
b
y
an
y
other
pro cess,
LOCRINOWNER
returns
the
Pro
cess
Iden
tication
Num
b er
(PIN)
of
that
pro cess.
Kno
wing
the
iden
tity
of
the
lo
c
king
pro cess
is
useful
when
paren
t
and
c
hild
pro cesses
are
sync
hronizing
access
to
one
another
through
calls
to
the
ACTIVATE
and
SUSPEND
in
trinsics.
Example
2-5
is
an
example
of
RIN
managemen
t
where
a
paren
t
pro cess
( PARENT )
acts
as
a
monitor
for
sev
eral
c
hild
pro cesses
(one
of
whom
is
iden
tied
as
CHILD1 ).
Assume
that
b oth
PARENT
and
CHILD1
are
executing
concurren
tly
,
line
b
y
line.
Note
that
t
w
o
agreemen
ts
ha
v
e
b een
made
b
y
the
programmer
regarding
RIN
managemen
t
prior
to
writing
the
co de
in
Example
2-5.
When
a
c
hild
pro cess
wishes
to
comm
unicate
with
PARENT
it
m
ust
rst
successfully
lo
c
k
lo
cal
RIN
1
(designated
in
the
program
as
WHICHCHILD ).
This
guarantees
that
other
c
hild
pro cesses
cannot
in
terfere
in
the
comm
unication
b eing
p erformed
while
lo
cal
RIN
2
(designated
as
SYNCHRIN )
is
lo
c
k
ed.
A
c
hild
pro cess
m
ust
successfully
lo
c
k
lo
cal
RIN
2
only
after
it
has
successfully
lo
c
k
ed
lo
cal
RIN
1.
PARENT
lo
c
ks
RIN
2
to
guarantee
that
the
c
hild
pro cess
that
activ
ated
PARENT
is
susp ended
while
PARENT
executes
co de
in
the
WHILE
lo
op.
2-12
Managing
Shared
Resources
with
RINs


...

Эта инструкция также подходит к моделям:
Программное обеспечение - MPE/iX 6.5 Operating System (194 kb)
Программное обеспечение - MPE/iX 7.0 Operating System (194 kb)
Программное обеспечение - MPE/iX 7.5 Operating System (194 kb)

Напишите ваш отзыв об устройстве



Текст отзыва
Ваше имя:
Введите две цифры:
capcha





Категории