Ticket #713 (closed enhancement: fixed)
Document importance of PyEval_EvalInitThreads()
| Reported by: | nikratio | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | wishlist |
| Component: | Documentation | Keywords: | |
| Cc: | nikratio |
Description
It would be great if http://docs.cython.org/src/userguide/external_C_code.html#acquiring-and-releasing-the-gil could be extended with something like
" WARNING: If the C components of the application are starting threads before any Python code does so, the PyEval?_EvalInitThreads() needs to be called (to initialize Python thread support) before any "with gil" functions are invoked. "
in the "Acquiring the GIL" section.
See also http://article.gmane.org/gmane.comp.python.cython.user/4207
Change History
Note: See
TracTickets for help on using
tickets.
