Staging
v0.5.1
https://github.com/python/cpython
Revision 94eb2d5b73d07bc447f1fe19923b4c3259734b9c authored by Miss Islington (bot) on 13 September 2017, 00:43:44 UTC, committed by Victor Stinner on 13 September 2017, 00:43:44 UTC
ProcessPoolShutdownTest.test_del_shutdown() now closes the call queue
and joins its thread, to prevent leaking a dangling thread.
(cherry picked from commit 3bcf157c115ba3e48bce62ac8cb13c703475a113)
1 parent bcf042f
Raw File
Tip revision: 94eb2d5b73d07bc447f1fe19923b4c3259734b9c authored by Miss Islington (bot) on 13 September 2017, 00:43:44 UTC
[3.6] bpo-31249: Fix test_concurrent_futures dangling thread (GH-3521) (#3522)
Tip revision: 94eb2d5
marshal.h

/* Interface for marshal.c */

#ifndef Py_MARSHAL_H
#define Py_MARSHAL_H
#ifdef __cplusplus
extern "C" {
#endif

#define Py_MARSHAL_VERSION 4

PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int);

#ifndef Py_LIMITED_API
PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
#endif
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *,
                                                      Py_ssize_t);

#ifdef __cplusplus
}
#endif
#endif /* !Py_MARSHAL_H */
back to top