Thanks to visit codestin.com
Credit goes to github.com

Skip to content

转账程序 为什么有的时候不是200? #1

@chengyi

Description

@chengyi

hi:
原文中提到 金额显示有的时候不是200.

 double getMoney() {
    // 这个地方要加锁?
    return mMoney;
}

试验了下加锁没用?
请问是什么原因?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions