Distributed threads via RMI with wait/notify?
Posted on 2003-03-13
I know I've asked this else where but it wasn't very clear so I thought I'd try again.
Can anyone tell me if the following is possible, and if not if there is anyway to get the same functionality?
I have a client/server peer to peer type relationship set up, and one of the things I'm needing to distribute currently uses several threads running on the one machine, these however use wait and notify within the threads, was wondering if it would be possible to distribute this? spawn threads on the server, and within the run() method call method on worker machine, which does the work, however the wait and notify would be on the worker, is this possible at all? I extremely doubt it but I can't see how else to work round this problem!
Any help greatly appreciated as always!