[ImageJ-devel] [fiji-devel] Imglib2: using threadpools in core algorithms

Tobias Pietzsch pietzsch at mpi-cbg.de
Fri Dec 6 12:39:36 CST 2013


Hi,

On Dec 6, 2013, at 7:28 PM, Johannes Schindelin <Johannes.Schindelin at gmx.de> wrote:

> Hi Lee,
> 
> On Fri, 6 Dec 2013, Lee Kamentsky wrote:
>> 
>> On Fri, Dec 6, 2013 at 10:10 AM, Tobias Pietzsch <pietzsch at mpi-cbg.de>wrote:
>> 
>>> Problem: Did anyone think about the possibility of deadlocks?
>> 
>> Nice catch, Tobias
> 
> Does anybody have a different reaction than "Oh well, that's right, we
> cannot use the ExecutorService, then, but instead need to adapt the
> ThreadService so it handles this one right"?

Here, I have a different reaction:
As I pointed out, this has been done exactly right in Java 7 Fork/Join framework (by people who presumably put more thought and experience into it than we could).
If the majority insists that we reimplement something similar, then at least let us use the same interfaces.

best regards,
Tobias

> 
> Ciao,
> Dscho
> 
> -- 
> -- 
> Please avoid top-posting, and please make sure to reply-to-all!
> 
> Mailing list web interface: http://groups.google.com/group/fiji-devel
> 
> --- 
> You received this message because you are subscribed to the Google Groups "Fiji-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fiji-devel+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20131206/5fe4ccf8/attachment.pgp>


More information about the ImageJ-devel mailing list