K
korcs
Hi All,
I have not much experience with programming threads and competeing
processes.
I have an application, where several threaded-objects (each with an
own thread), are using the methods of a single (non-threaded) object.
I have no influence on the call frequency of theese threaded objects,
so it can easily happen, that 2 calls arrive at the same time, or a
call arrives when the object is still not returned from the previous
call.
I have experienced, that the application works the more erroneously
the more such "threaded instances" I have (with only one it works
perfectly, but I need in the final app around 15 of them!)
My question is: How java handles such calls. Is there some FCFS Queue,
so that each request is going to be satisfied sooner or later, or
there can be such requests, which can be forgotten?
Best,
korcs
I have not much experience with programming threads and competeing
processes.
I have an application, where several threaded-objects (each with an
own thread), are using the methods of a single (non-threaded) object.
I have no influence on the call frequency of theese threaded objects,
so it can easily happen, that 2 calls arrive at the same time, or a
call arrives when the object is still not returned from the previous
call.
I have experienced, that the application works the more erroneously
the more such "threaded instances" I have (with only one it works
perfectly, but I need in the final app around 15 of them!)
My question is: How java handles such calls. Is there some FCFS Queue,
so that each request is going to be satisfied sooner or later, or
there can be such requests, which can be forgotten?
Best,
korcs