read(y) - IBDS-OS Startseite
read(y) - IBDS-OS Startseite
read(y) - IBDS-OS Startseite
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Example (1’)<br />
Transactions<br />
{Transfers Amount money from ACC1 to ACC2}<br />
T1: Transfer(ACC1, ACC2, Amount)<br />
{Part1: Take money from ACC1}<br />
balance1 := Read(ACC1)<br />
balance1 := balance1 - Amount<br />
Write(ACC1, balance1) {debit ACC1}<br />
{S {Sumup th the bbalance l of f bboth th ACC1 and d ACC2}<br />
T2: SumUp(Acc1, ACC2, sum)<br />
sum1 := Read(ACC1)<br />
sum2 := Read(ACC2)<br />
sum := sum1 + sum2<br />
{Part2 of T1: Put money to ACC2}<br />
balance2 := Read(ACC2)<br />
balance2 := balance2 + Amount<br />
Write(ACC2,balance1)<br />
© 2009 Universität Karlsruhe, System Architecture Group 20