File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -362,6 +362,7 @@ MACFILES= $(HOWTOSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
362362 mac/libmacui.tex \
363363 mac/libmacic.tex \
364364 mac/libframework.tex \
365+ mac/libautogil.tex \
365366 mac/libminiae.tex \
366367 mac/libscrap.tex
367368
Original file line number Diff line number Diff line change 1+ \section {\module {autoGIL} ---
2+ Global Interpreter Lock handling in event loops }
3+
4+ \declaremodule {extension}{autoGIL}
5+ \platform {Mac}
6+ \modulesynopsis {Global Interpreter Lock handling in event loops.}
7+ \moduleauthor {Just van Rossum}{
[email protected] }
8+
9+
10+ The \module {autoGIL} module provides a function \function {installAutoGIL} that
11+ automatically locks and unlocks Python's Global Interpreter Lock
12+ when running an event loop.
13+
14+ \begin {excdesc }{AutoGILError}
15+ Raised if the observer callback cannot be installed, for example because
16+ the current thread does not have a run loop.
17+ \end {excdesc }
18+
19+ \begin {funcdesc }{installAutoGIL}{}
20+ Install an observer callback in the event loop (CFRunLoop) for the
21+ current thread, that will lock and unlock the Global Interpreter Lock
22+ (GIL) at appropriate times, allowing other Python threads to run while
23+ the event loop is idle.
24+
25+ Availability: OSX 10.1 or later.
26+ \end {funcdesc }
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ \chapter{MacPython Modules \label{macpython-modules}}
5757\input {libmacostools }
5858\input {libmacui }
5959\input {libframework }
60+ \input {libautogil }
6061
6162\input {scripting }
6263
You can’t perform that action at this time.
0 commit comments