Staging
v0.5.1
https://github.com/python/cpython
Revision f70401e842d120407c5450d0b89cece8616af8e4 authored by Antoine Pitrou on 31 March 2012, 18:23:30 UTC, committed by Antoine Pitrou on 31 March 2012, 18:23:30 UTC
1 parent 317075d
Raw File
Tip revision: f70401e842d120407c5450d0b89cece8616af8e4 authored by Antoine Pitrou on 31 March 2012, 18:23:30 UTC
Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Tip revision: f70401e
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top