Disconnecting a taking thread

View: New views
1 Messages — Rating Filter:   Alert me  

Disconnecting a taking thread

by Asaf Lahav-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi all,

What is the cleanest/recommended way to stop a thread which is taking entries from a javaspace?

What I currently do is abort the thread. The problem is that sometime after aborting, other waiting threads stop taking entries as well.

 

Thanks in advance

 

 

-------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to listserv@...