- From: Bob Rossi <bob@xxxxxxxxxx>
- Date: Mon, 25 Jun 2012 20:51:09 -0400
I see that I can initialize python for multi thread support by
I'm under the impression that when the GIL is turned on, python
can slow down a measurable amount.
Since I only need to use multiple threads for a portion of my
program, after I call PyEval_InitThreads() and use the threads,
is there a way to disable multi threading support in python?
(I noticed that _PyEval_FiniThreads was undocumented and
presumably shouldn't be called)
I would only want to do this if it would increase run time
performance in the main thread. So if that assumption is wrong,
please let me know.