river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject ThreadPool calling Thread.setName
Date Fri, 26 Apr 2013 09:48:32 GMT
Hope you don't mind, I've removed the call to Thread.setName in 
com.sun.jini.ThreadPool

As a result threads will be less descriptive, unfortunately setName 
isn't thread safe, it's final and cannot be overridden.  Thread.getName 
is only thread safe if a Thread's name isn't changed after publication.

ThreadPool was the only instance of Thread.setName in River.

Regards,

Peter.

Mime
View raw message