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

Delta Between Two Patch Sets: Include/pythonrun.h

Issue 18756: os.urandom() fails under high load
Left Patch Set: Created 6 years, 2 months ago
Right Patch Set: Created 6 years, 1 month 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 | « no previous file | Lib/test/test_cmd_line.py » ('j') | Lib/test/test_cmd_line.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 1
2 /* Interfaces to parse and execute pieces of python code */ 2 /* Interfaces to parse and execute pieces of python code */
3 3
4 #ifndef Py_PYTHONRUN_H 4 #ifndef Py_PYTHONRUN_H
5 #define Py_PYTHONRUN_H 5 #define Py_PYTHONRUN_H
6 #ifdef __cplusplus 6 #ifdef __cplusplus
7 extern "C" { 7 extern "C" {
8 #endif 8 #endif
9 9
10 #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \ 10 #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int); 256 PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int);
257 PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t); 257 PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
258 258
259 /* Random */ 259 /* Random */
260 PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size); 260 PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size);
261 261
262 #ifdef __cplusplus 262 #ifdef __cplusplus
263 } 263 }
264 #endif 264 #endif
265 #endif /* !Py_PYTHONRUN_H */ 265 #endif /* !Py_PYTHONRUN_H */
LEFTRIGHT

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