File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 pair: UNIX; I/O control
1313
1414This module performs file control and I/O control on file descriptors. It is an
15- interface to the :c:func: `fcntl ` and :c:func: `ioctl ` Unix routines.
15+ interface to the :c:func: `fcntl ` and :c:func: `ioctl ` Unix routines. For a
16+ complete description of these calls, see :manpage: `fcntl(2)` and
17+ :manpage: `ioctl(2)` Unix manual pages.
1618
1719All functions in this module take a file descriptor *fd * as their first
1820argument. This can be an integer file descriptor, such as returned by
Original file line number Diff line number Diff line change @@ -190,6 +190,11 @@ Module functions and constants
190190 any combination of :const: `PARSE_DECLTYPES ` and :const: `PARSE_COLNAMES ` to turn
191191 type detection on.
192192
193+ By default, *check_same_thread * is :const: `True ` and only the creating thread may
194+ use the connection. If set :const: `False `, the returned connection may be shared
195+ across multiple threads. When using multiple threads with the same connection
196+ writing operations should be serialized by the user to avoid data corruption.
197+
193198 By default, the :mod: `sqlite3 ` module uses its :class: `Connection ` class for the
194199 connect call. You can, however, subclass the :class: `Connection ` class and make
195200 :func: `connect ` use your class instead by providing your class for the *factory *
Original file line number Diff line number Diff line change 1010 pair: POSIX; I/O control
1111 pair: tty; I/O control
1212
13- This module provides an interface to the POSIX calls for tty I/O control. For a
14- complete description of these calls, see the POSIX or Unix manual pages. It is
15- only available for those Unix versions that support POSIX * termios * style tty
16- I/O control (and then only if configured at installation time) .
13+ This module provides an interface to the POSIX calls for tty I/O control. For a
14+ complete description of these calls, see :manpage: `termios(2)` Unix manual
15+ page. It is only available for those Unix versions that support POSIX
16+ * termios * style tty I/O control configured during installation.
1717
1818All functions in this module take a file descriptor *fd * as their first
1919argument. This can be an integer file descriptor, such as returned by
You can’t perform that action at this time.
0 commit comments