Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
9ea5dc2d
Commit
9ea5dc2d
authored
Feb 24, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use more care in describing use of Conn. by multiple threads.
parent
57b743b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/ZODB/Connection.py
src/ZODB/Connection.py
+7
-4
No files found.
src/ZODB/Connection.py
View file @
9ea5dc2d
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Database connection support
"""Database connection support
$Id: Connection.py,v 1.12
0 2004/02/24 21:31:03
jeremy Exp $"""
$Id: Connection.py,v 1.12
1 2004/02/24 21:38:38
jeremy Exp $"""
import
logging
import
logging
import
sys
import
sys
...
@@ -58,7 +58,7 @@ class Connection(ExportImport, object):
...
@@ -58,7 +58,7 @@ class Connection(ExportImport, object):
Connection that loaded them. When the objects are modified, the
Connection that loaded them. When the objects are modified, the
Connection is registered with the current transaction.
Connection is registered with the current transaction.
ZODB is organized so that
each thread should have its own
The typical use of ZODB is for
each thread should have its own
Connection and that no thread should have more than one Connection
Connection and that no thread should have more than one Connection
to the same database. A thread is associated with a Connection by
to the same database. A thread is associated with a Connection by
loading objects from that Connection. Objects loaded by one
loading objects from that Connection. Objects loaded by one
...
@@ -76,7 +76,10 @@ class Connection(ExportImport, object):
...
@@ -76,7 +76,10 @@ class Connection(ExportImport, object):
connection or the transaction the connection is registered with,
connection or the transaction the connection is registered with,
the application should provide locking.
the application should provide locking.
$Id: Connection.py,v 1.120 2004/02/24 21:31:03 jeremy Exp $
XXX We should document an intended API for using a Connection via
multiple threads.
$Id: Connection.py,v 1.121 2004/02/24 21:38:38 jeremy Exp $
"""
"""
_tmp
=
None
_tmp
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment