The Insight Journal logo

An alternative threading model for the Insight Toolkit

Blezek, Daniel
Mayo Clinic
The Insight Journal logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/1510
New: Prefer using the following doi: https://doi.org/10.54294/28zfcb
Submitted by Daniel Blezek on 2008-12-21 21:24:00.

This technical note presents an alternative threading model for the Insight Toolkit. The existing ITK threading model is based on a \"scatter / gather\" model and divides work evenly amongst all threads. Though suitable for many filters, considerations such as memory allocation per thread are important in some classes of filters. We propose to use the ZThread (http://sourceforge.net/projects/zthread/) library to explore a threading model based on an execution pool. The ZThread library is a cross platform, open source thread abstraction library loosely based on Java\'s threading model.