PriorityBlockingQueue problem!
I am using a PriorityBlockingQueue in my server program for a network printer manager, but the thing is whenever I print the size of the queue its always 1. I think it is cause i am using threads in my program to support multiple clients. How do i solve this problem? And can I print the queue with...
__________________
Java
domain name forum
|