diff options
Diffstat (limited to 'Modules/_multiprocessing/pipe_connection.c')
-rw-r--r-- | Modules/_multiprocessing/pipe_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_multiprocessing/pipe_connection.c b/Modules/_multiprocessing/pipe_connection.c index 66947c8..980f760 100644 --- a/Modules/_multiprocessing/pipe_connection.c +++ b/Modules/_multiprocessing/pipe_connection.c @@ -39,7 +39,7 @@ conn_send_string(ConnectionObject *conn, char *string, size_t length) */ static Py_ssize_t -conn_recv_string(ConnectionObject *conn, char *buffer, +conn_recv_string(ConnectionObject *conn, char *buffer, size_t buflength, char **newbuffer, size_t maxlength) { DWORD left, length, full_length, err; @@ -130,7 +130,7 @@ conn_poll(ConnectionObject *conn, double timeout, PyThreadState *_save) Sleep(delay); /* check for signals */ - Py_BLOCK_THREADS + Py_BLOCK_THREADS res = PyErr_CheckSignals(); Py_UNBLOCK_THREADS |