[Numpy-discussion] Threading question for Travis
Charles R Harris
Sat Apr 26 05:47:59 CDT 2008
Is this correct?
* Everything is contiguous, notswapped, aligned,
* and of the right type. -- Fastest.
* Or if not contiguous, then a single-stride
* increment moves through the entire array.
/*fprintf(stderr, "ONE...%d\n", loop->size);*/
loop->function((char **)loop->bufptr, &(loop->size),
Note that UFUNC_CHECK_ERROR calls PyErr_Occurred. That doesn't seem thread
safe to me. Or maybe there is something special about that function I'm
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion