-
article5
JAVA implementation of BnB
- 2014-08-15 02:21:50下载
- 积分:1
-
philosopher(1.6)
哲学家进餐问题——Java语言实现
哲学家进餐问题是一个多线程运用的经典例子,涉及到线程同步/互斥,临界区访问问题以及一个避免死锁的解决方法。
有五个哲学家绕着圆桌坐,每个哲学家面前有一盘面,两人之间有一支筷子,这样每个哲学家左右各有一支筷子。
哲学家有2个状态,思考或者拿起筷子吃饭。如果哲学家拿到一只筷子,不能吃饭,直到拿到2只才能吃饭,并且一次只能拿起身边的一支筷子。一旦拿起便不会放下筷子直到把饭吃完,此时才把这双筷子放回原处。
如果,很不幸地,每个哲学家拿起他或她左边的筷子,那么就没有人可以吃到饭了。这就会造成死锁了。。这是需要坚决杜绝的,正如操作系统的死锁问题。()
- 2008-05-20 01:23:04下载
- 积分:1
-
BiTree77
数据结构 二叉树 前序遍历 中序遍历 后序遍历 结点(Pre-order traversal binary tree data structure in-order traversal post-order traversal node)
- 2011-11-22 21:55:21下载
- 积分:1
-
11
说明: 一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。要求:分别用普通方法和递归方法实现(A frog can jump up a step or two at a time. Find out how many jumping methods the frog can use to jump up an n-step. Requirements: Implemented by common method and recursive method respectively)
- 2019-03-10 16:48:12下载
- 积分:1
-
20065613513474287
时钟万年历代码 Clock.java放在了一个名叫 Clock的包里(clock calendar Clock.java code on a bundle called the Clock)
- 2007-01-22 20:27:42下载
- 积分:1
-
new-java-exercise50
最新JAVA编程题全集_50题及答案,收集了最新的一些java试题,有很详细的解答(Complete _50 latest JAVA programming problems questions and answers, a collection of some of the latest java questions, there is a very detailed answer)
- 2013-09-23 16:15:14下载
- 积分:1
-
SSH2web
先它是一个开源的项目;它是一个基于IoC和AOP的构架多层j2ee系统的框架,但它不强迫你必须在每一层 中必须使用Spring,因为它模块化的很好,允许你根据自己的需要选择使用它的某一个模块(First it is an open source project it is a framework based on IoC and AOP framework for multi-j2ee system, but it does not force you to use in each layer must be Spring, because it is very modular, allowing you to according to their need to select a module to use it)
- 2011-06-27 17:06:34下载
- 积分:1
-
javacomm20-win32
说明: Java Comm Version 2, can use for SMSLib
- 2020-12-01 04:39:28下载
- 积分:1
-
汉字笔画部首字库
汉字笔画部首字库,包含常见文字,可以做手写输入法识别(Chinese Stroke order)
- 2017-12-05 10:11:17下载
- 积分:1
-
jsp+servlet+jdbc
jsp + servlete + jdbc开的管理系统()
- 2007-09-04 14:21:25下载
- 积分:1