<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>I'm using SimpleITK for a script and want to exploit the multiple cores on a computer. I cannot use the Python multiprocessing library because the SimpleITK objects cannot be pickled:</div>
<div><br>
</div>
<div>PicklingError: Can't pickle &lt;type 'SwigPyObject'&gt;: attribute lookup __builtin__.SwigPyObject failed.</div>
<div><br>
</div>
<div>There doesn't seem to be any Python access to the multithreading features of the C&#43;&#43; class.</div>
<div><br>
</div>
<div>Any suggestions for an alternative approach?</div>
<div><br>
</div>
<div>Brian</div>
</div>
</body>
</html>