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

Delta Between Two Patch Sets: Modules/_threadmodule.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 | « Lib/trace.py ('k') | Modules/gcmodule.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 /* Thread module */ 2 /* Thread module */
3 /* Interface to Sjoerd's portable C thread library */ 3 /* Interface to Sjoerd's portable C thread library */
4 4
5 #include "Python.h" 5 #include "Python.h"
6 #include "structmember.h" /* offsetof */ 6 #include "structmember.h" /* offsetof */
7 7
8 #ifndef WITH_THREAD 8 #ifndef WITH_THREAD
9 #error "Error! The rest of Python is not compiled with thread support." 9 #error "Error! The rest of Python is not compiled with thread support."
10 #error "Rerun configure, adding a --with-threads option." 10 #error "Rerun configure, adding a --with-threads option."
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 nb_threads = 0; 1406 nb_threads = 0;
1407 1407
1408 str_dict = PyUnicode_InternFromString("__dict__"); 1408 str_dict = PyUnicode_InternFromString("__dict__");
1409 if (str_dict == NULL) 1409 if (str_dict == NULL)
1410 return NULL; 1410 return NULL;
1411 1411
1412 /* Initialize the C thread library */ 1412 /* Initialize the C thread library */
1413 PyThread_init_thread(); 1413 PyThread_init_thread();
1414 return m; 1414 return m;
1415 } 1415 }
LEFTRIGHT

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