954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

public pathroom problem (plz help)

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

arwa
Newbie Poster
1 post since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

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.

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You