搜索资源列表
counter
- 使用临界区机制同步线程,假如一个银行系统有两个线程执行取款任务。一个使用存折在柜台取款,一个使用银行卡在ATM取款。若不加控制,很可能账户余额不足于两次取款的总额,但还可以把钱取走。-Critical mechanism for the use of thread synchronization, if a banking system there are two threads to implement task teller. A teller at the counter using th
Simulation-of-ATM-ATM-system
- 模拟银行ATM提款机系统(单线程),程序是C/S结构,由服务端和客户端程序构成,还有一个配置程序来定义文件和IP,程序还实现了冲帐功能。-Bank ATM system simulation (single thread ), procedure is C/S structure, consisting of a server and client program, a procedure to define the configuration files and IP, program als