Hi Guys,
We are having one multi-threaded application.
The scenario is as follows:
--------------------------------- Client 1
|
APP Server -------------- Client 2
|
---------------------------------- Client 3
App Server is feeding all the clients.
One particular process (within client) has to be run for each minute. Based on the result of the process one value will be displayed on the client.
At starting all the clients have same value (above mentioned).
After starting the clients, the function invocation for each minute is also happening correctly (found by debugging).
The (timed)function is executed using the threads.
The issue is after the function invocation.....in each client....the threads are executing at different times and hence the (display) count on each client is not matching.
Is there any way/method to make sure that threads (in different clients) execute at the same time ?
or
Is there any other alternate way to efficiently handle this kind of scenario?
App Server is one machine and all the Clients are on another machine.
We are using RHEL - 5.4.
Any help would be greatly appreciated.
Thanks,
14341