高普考題庫
96 年 096年公務人員高等考試三級考試暨普通考試・資料處理
申論 4考慮二個交易(transaction)T 及Q,其內容如下:Transaction T: Transaction Q:Bank&Withdraw(A, 4); Bank&Withdraw(C, 3);Bank&Deposit(B, 4); Bank&Deposit(B, 3);A, B, C 分別表示三個用戶之銀行帳號,Withdraw(提款)及Deposit(存款)並非atomic operation,都包含read operation 及write operation。若同時(concurrent)處理二個交易(transaction)T 及Q,請用T 及Q 的執行過程說明可能會發生的問題?並提出解決方法。(20 分)