Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(163)

Delta Between Two Patch Sets: Modules/gcmodule.c

Issue 22043: Use a monotonic clock to compute timeouts
Left Patch Set: Created 3 years, 2 months ago
Right Patch Set: Created 3 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/_threadmodule.c ('k') | Modules/socketmodule.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 2
3 Reference Cycle Garbage Collection 3 Reference Cycle Garbage Collection
4 ================================== 4 ==================================
5 5
6 Neil Schemenauer <nas@arctrix.com> 6 Neil Schemenauer <nas@arctrix.com>
7 7
8 Based on a post on the python-dev list. Ideas from Guido van Rossum, 8 Based on a post on the python-dev list. Ideas from Guido van Rossum,
9 Eric Tiedemann, and various others. 9 Eric Tiedemann, and various others.
10 10
(...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 PyObject_GC_Del(void *op) 1769 PyObject_GC_Del(void *op)
1770 { 1770 {
1771 PyGC_Head *g = AS_GC(op); 1771 PyGC_Head *g = AS_GC(op);
1772 if (IS_TRACKED(op)) 1772 if (IS_TRACKED(op))
1773 gc_list_remove(g); 1773 gc_list_remove(g);
1774 if (generations[0].count > 0) { 1774 if (generations[0].count > 0) {
1775 generations[0].count--; 1775 generations[0].count--;
1776 } 1776 }
1777 PyObject_FREE(g); 1777 PyObject_FREE(g);
1778 } 1778 }
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7