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

Delta Between Two Patch Sets: Modules/signalmodule.c

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 3 months ago
Right Patch Set: Created 7 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/Setup.dist ('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
(Both sides are equal)
1 1
2 /* Signal module -- many thanks to Lance Ellinghaus */ 2 /* Signal module -- many thanks to Lance Ellinghaus */
3 3
4 /* XXX Signals should be recorded per thread, now we have thread state. */ 4 /* XXX Signals should be recorded per thread, now we have thread state. */
5 5
6 #include "Python.h" 6 #include "Python.h"
7 7
8 #ifdef __MINGW32__ 8 #ifdef __MINGW32__
9 /* GCC 4.4+ (mingw) support posix threads! 9 /* GCC 4.4+ (mingw) support posix threads!
10 Note: macro __MINGW_GCC is defined for GCC 4.4+ but 10 Note: macro __MINGW_GCC is defined for GCC 4.4+ but
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 void *_PyOS_SigintEvent(void) 1460 void *_PyOS_SigintEvent(void)
1461 { 1461 {
1462 /* Returns a manual-reset event which gets tripped whenever 1462 /* Returns a manual-reset event which gets tripped whenever
1463 SIGINT is received. 1463 SIGINT is received.
1464 1464
1465 Python.h does not include windows.h so we do cannot use HANDLE 1465 Python.h does not include windows.h so we do cannot use HANDLE
1466 as the return type of this function. We use void* instead. */ 1466 as the return type of this function. We use void* instead. */
1467 return sigint_event; 1467 return sigint_event;
1468 } 1468 }
1469 #endif 1469 #endif
LEFTRIGHT

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