> I'm not convinced of this. It is true that there may only ever be one thread > accessing the Python runtime (thus the GIL to enforce it). But you may > certainly have as many threads doing other work as you want. And if your > OpenMP-enabled code is pure C++, with no hooks into the Python runtime, then > I don't see why that may not work. > Again: If your OpenMP-using code and the Python-exposed API are well > isolated, I don't think either needs to know about the other.
Thanks, in fact I now got my trivial example working with a good speedup! For the real code I need to look at isolating C++/Python. AW _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig