Opened 4 years ago

Closed 4 years ago

#713 closed enhancement (fixed)

Document importance of PyEval_EvalInitThreads()

Reported by: nikratio Owned by:
Priority: major Milestone: wishlist
Component: Documentation Keywords:
Cc: nikratio


It would be great if 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

Change History (2)

comment:1 Changed 4 years ago by nikratio

  • Cc nikratio added

comment:2 Changed 4 years ago by mark

  • Resolution set to fixed
  • Status changed from new to closed

Fixed it a while ago in 8a7d02b61ac0d2cd72959060d7ef19f8955eda41

Note: See TracTickets for help on using tickets.