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
45f6d248
Commit
45f6d248
authored
May 13, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve a comment.
parent
8b9cd0cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
src/Persistence/cPersistence.c
src/Persistence/cPersistence.c
+8
-2
src/ZODB/cPersistence.c
src/ZODB/cPersistence.c
+8
-2
src/persistent/cPersistence.c
src/persistent/cPersistence.c
+8
-2
No files found.
src/Persistence/cPersistence.c
View file @
45f6d248
...
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.
69 2003/04/23 20:05:51
jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.
70 2003/05/13 22:58:37
jeremy Exp $
\n
"
;
#include "cPersistence.h"
...
...
@@ -192,7 +192,13 @@ ghostify(cPersistentObject *self)
self
->
ring
.
prev
=
NULL
;
self
->
ring
.
next
=
NULL
;
self
->
state
=
cPersistent_GHOST_STATE
;
/* self->ring held a reference to the object. */
/* We remove the reference to the just ghosted object that the ring
* holds. Note that the dictionary of oids->objects has an uncounted
* reference, so if the ring's reference was the only one, this frees
* the ghost object. Note further that the object's dealloc knows to
* inform the dictionary that it is going away.
*/
Py_DECREF
(
self
);
}
...
...
src/ZODB/cPersistence.c
View file @
45f6d248
...
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.
69 2003/04/23 20:05:51
jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.
70 2003/05/13 22:58:37
jeremy Exp $
\n
"
;
#include "cPersistence.h"
...
...
@@ -192,7 +192,13 @@ ghostify(cPersistentObject *self)
self
->
ring
.
prev
=
NULL
;
self
->
ring
.
next
=
NULL
;
self
->
state
=
cPersistent_GHOST_STATE
;
/* self->ring held a reference to the object. */
/* We remove the reference to the just ghosted object that the ring
* holds. Note that the dictionary of oids->objects has an uncounted
* reference, so if the ring's reference was the only one, this frees
* the ghost object. Note further that the object's dealloc knows to
* inform the dictionary that it is going away.
*/
Py_DECREF
(
self
);
}
...
...
src/persistent/cPersistence.c
View file @
45f6d248
...
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.
69 2003/04/23 20:05:51
jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.
70 2003/05/13 22:58:37
jeremy Exp $
\n
"
;
#include "cPersistence.h"
...
...
@@ -192,7 +192,13 @@ ghostify(cPersistentObject *self)
self
->
ring
.
prev
=
NULL
;
self
->
ring
.
next
=
NULL
;
self
->
state
=
cPersistent_GHOST_STATE
;
/* self->ring held a reference to the object. */
/* We remove the reference to the just ghosted object that the ring
* holds. Note that the dictionary of oids->objects has an uncounted
* reference, so if the ring's reference was the only one, this frees
* the ghost object. Note further that the object's dealloc knows to
* inform the dictionary that it is going away.
*/
Py_DECREF
(
self
);
}
...
...
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