-
philosopher(1.6)
哲学家进餐问题——Java语言实现
哲学家进餐问题是一个多线程运用的经典例子,涉及到线程同步/互斥,临界区访问问题以及一个避免死锁的解决方法。
有五个哲学家绕着圆桌坐,每个哲学家面前有一盘面,两人之间有一支筷子,这样每个哲学家左右各有一支筷子。
哲学家有2个状态,思考或者拿起筷子吃饭。如果哲学家拿到一只筷子,不能吃饭,直到拿到2只才能吃饭,并且一次只能拿起身边的一支筷子。一旦拿起便不会放下筷子直到把饭吃完,此时才把这双筷子放回原处。
如果,很不幸地,每个哲学家拿起他或她左边的筷子,那么就没有人可以吃到饭了。这就会造成死锁了。。这是需要坚决杜绝的,正如操作系统的死锁问题。()
- 2008-05-20 01:23:04下载
- 积分:1
-
ProjetStrutsVide
java struts 简单框架,用于eclipse(this simple project is a struts of java, It s easy study.)
- 2012-03-18 20:25:53下载
- 积分:1
-
OKAir
说明: 奥凯航空内部资源管理系统 首页:登录、注册、密码修改,信息管理:数据字典资产分类、公司职员信息、系统用户。资产信息管理:资产信息管理包括:检索、新增、入库、编辑、金融资产信息管理、车辆信息管理、不动产信息管理。资产管理:资产流转管理、金融资产流转管理、不动产流转管理。(Aokai internal resource management system homepage: login, registration, password modification, information management: data dictionary asset classification, company employee information, system user. Asset information management: asset information management includes retrieval, adding, warehousing, editing, financial asset information management, vehicle information management, real estate information management. Asset management: asset circulation management, financial asset circulation management, real estate circulation management.)
- 2020-12-25 18:19:04下载
- 积分:1
-
demo
关于ireport导出,看看希望帮助大家(About ireport export, to see wants to help you)
- 2011-07-20 23:37:17下载
- 积分:1
-
ATMSystem-java-soure.zip
主要实现了用java开发ATM系统,基于Oracel数据库,有不足,请见谅。(ATM ORACLE JAVA )
- 2015-12-24 13:16:53下载
- 积分:1
-
fushutest
fushutest用来实现两个复数的加减乘数,里面的代码需要自己填写(fushutest be used to achieve the addition and subtraction of two complex multiplier, which fill in the code that needs its own)
- 2009-10-21 18:52:31下载
- 积分:1
-
steganography
stenography project using java.
hiding data in image.
- 2011-11-04 06:11:09下载
- 积分:1
-
proxy_wmswfs
Simple proxy server for wfs services.
Place the file to the cgi folder in your java web server.
Change allowed hosts,ports, and username,password.
- 2016-03-16 15:56:36下载
- 积分:1
-
TestFileIO
Java类库中字节流由InputStream类和OutputStream类派生。由于InputStream,OutputStream是针对字节流的,所以读取文件前先要定义byte[],然后把文件流读取到byte[]里面.(Derived the InputStream class and OutputStream class byte stream in the Java class library. Thanks to InputStream, OutputStream is aimed at the byte stream, so must be defined before reading byte[] file, then the file stream to read into byte[].)
- 2015-03-24 18:34:04下载
- 积分:1
-
Spring笔记
说明: spring详细笔记,里面保留了spring的内容介绍(spring Learning Documents)
- 2020-06-22 05:20:02下载
- 积分:1