This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
OK so now the problem i have is i want the client threads to share a semaphore so i can make sure only one Database connection
is present at one time. But the only way i can see of doing that is to have it in a parent thread which the child threads couldn't access, is
there anyway sibling threads could access the same semaphore?
if anyone understands this id appreciate any ideas, comments regarding my stupidity may also lead to results so are equally welcome.