Hello,
I have a distributed simulation running several simulation processes and
one controller.
The startup process of the simulation requires the simulation processes
to be synchronized
at some points. To achieve this, I have a CyclicBarrier whithin the
controller and a
remotely callable function "waitForStartup()" that waits on the barrier.
This remote function
is called from the client simulation processes during their startup,
effectively blocking in client,
until the barrier is passed.
The problem is that however the barrier is passed within the controller,
a client sometimes stays in a blocked state, as if the call doesn't
return.
I know this isn't the cleanest way to do this, but I'm wondering
what could be the cause of this problem and if it can be solved/worked
around?
I'm using Jini 2.1 with Jeri.
Thanks in advance,
Silas De Munck
--
--
Silas De Munck
PhD Student
Computational Modeling and Programming (COMP)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen, Belgium
G2.07, Department of Computer Science and Mathematics
e-mail: [email protected]