文件名称:ThreadSynchronization
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个程序模拟一个银行帐户存钱的过程。程序中使用100个线程同时对一个银行帐户进行操作,每个线程每次向账户中存入1元。使用两个面板分别显示使用同步线程存放100次后的账户余额和不使用同步线程存放100次后的账户余额。-Design a program to simulate the process of saving money in a bank account. Program to use 100 threads simultaneously operate a bank account, each thread for each 1 yuan deposit to the account. The use of two panels that the use of simultaneous threads were placed 100 times after the account balance and do not use thread synchronization store 100 times after the account balance.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ThreadSynchronization/.classpath
ThreadSynchronization/.project
ThreadSynchronization/synchronization/Account.class
ThreadSynchronization/synchronization/Account.java
ThreadSynchronization/synchronization/DepositThread.class
ThreadSynchronization/synchronization/DepositThread.java
ThreadSynchronization/synchronization/TempAccount.class
ThreadSynchronization/synchronization/TempAccount.java
ThreadSynchronization/synchronization/ThreadTest$1.class
ThreadSynchronization/synchronization/ThreadTest$2.class
ThreadSynchronization/synchronization/ThreadTest.class
ThreadSynchronization/synchronization/ThreadTest.java
ThreadSynchronization/synchronization
ThreadSynchronization
ThreadSynchronization/.project
ThreadSynchronization/synchronization/Account.class
ThreadSynchronization/synchronization/Account.java
ThreadSynchronization/synchronization/DepositThread.class
ThreadSynchronization/synchronization/DepositThread.java
ThreadSynchronization/synchronization/TempAccount.class
ThreadSynchronization/synchronization/TempAccount.java
ThreadSynchronization/synchronization/ThreadTest$1.class
ThreadSynchronization/synchronization/ThreadTest$2.class
ThreadSynchronization/synchronization/ThreadTest.class
ThreadSynchronization/synchronization/ThreadTest.java
ThreadSynchronization/synchronization
ThreadSynchronization
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.