next up previous contents index
Next: The Implementation Up: The Model Previous: Transaction Primitives   Contents   Index

Existing Applications

Existing applications could be ported easily using:

Note: The $\infty$ in the above read-statements means a sufficiently large number (so big that it will last the whole of the systems lifetime).

Default values for $CT \! B$, $MT \! B$, and $ET \! B$ pr. system or application could be used implicitly when running existing applications (unchanged). However this would require new daemons to catch, for instance, access to remote files via NFS, e.g. as it is done in [32].

Figure 5.9: Example use of transactions (1)
\begin{verbatim}transaction_status do_transfer(ctb,mtb,etb,tid)...
return end_transaction(*tid);

Figure 5.10: Example use of transactions (2)
\begin{verbatim}void main()
transaction_id tid;
...nsfer failed");printf("Transfer succeeded\n'');