2009-05-28, 01:28 AM
KajitiSouls Wrote:I've come to think about banking situations when you mention this assignment. Say there's a joint bank account owned by a father and a mother, and it has 500 dollars in it. At 1:00.00 pm, the mother makes a withdrawal worth 267 dollars to pay up front for some pharmaceutical medicine. Also at 1:00.00 pm, the father makes a withdrawal worth 400 dollars to invest in a startup company he believes will revolutionize the next generation of technology. This clearly can't happen and is illegal. There has to be a way to prevent accidents such as these from occurring.
As long as it's limited to a single "open" transaction that wouldn't be a problem. Even if they both request a transaction, it should only accept 1 if they occur simultaneously.

