public pathroom problem (plz help)

Reply

Join Date: Jul 2005
Posts: 1
Reputation: arwa is an unknown quantity at this point 
Solved Threads: 0
arwa arwa is offline Offline
Newbie Poster

public pathroom problem (plz help)

 
0
  #1
Jul 31st, 2005
hii all ..plz can any body help me in writing a java program that solve a public pathroom problem(a sharing pathroom for boys and girls in which no both of them can appear at the same time in the pathroom ) the program must solve the problem and synchronize between them ....plzzz help
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: public pathroom problem (plz help)

 
0
  #2
Jul 31st, 2005
Sounds like a neat problem to do. We aren't allowed to give anyone homework help unless they show some effort. If you do, we will be more than happy to help out. In the mean time, look up synchronizing threads. I've done a problem similar to this where two people share a bank account, so if you show a little effort I can surely help you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC