Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads WEB Code JSP/Java

philosopher(1.6)

  • Category : JSP/Java
  • Tags :
  • Update : 2008-10-13
  • Size : 6.54kb
  • Downloaded :0次
  • Author :st***
  • About : stone
  • PS : If download it fails, try it again. Download again for free!
Download 1 (6.54kb)
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
The philosopher's eating problem - the Java language implementation The philosopher's eating problem is a classic example of multi-threading, involving thread synchronization/mutual exclusion, critical area access problems, and a solution to avoid deadlocks. There were five philosophers who sat around the round table, and each philosopher had a dish in front of him, and there was a chopstick between them, so that each philosopher had a pair of chopsticks. Philosophers have two states, think or pick up chopsticks to eat. If philosophers get a chopstick, they can't eat, until they get two to eat, and can only pick up one of their chopsticks at a time. Once you have picked up, you will not put down your chopsticks until you have finished eating. If, unfortunately, every philosopher picks up his or her left chopsticks, no one can eat. This will cause a deadlock. This is something that needs to be firmly eliminated, just as the operating system's deadlock problem.
Packet file list
(Preview for download)
Packet : 11912890philosopher(1.6).rar filelist
philosopher\.project
philosopher\.classpath
philosopher\DiningPhils.java
philosopher\Philosopher.class
philosopher\DiningPhils.class
philosopher
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.