[New-bugs-announce] [issue33015] Fix function cast warning in thread_pthread.h

Siddhesh Poyarekar report at bugs.python.org
Tue Mar 6 13:56:13 EST 2018


New submission from Siddhesh Poyarekar <siddhesh.poyarekar at gmail.com>:

The PyThread_start_new_thread function takes a void (*)(void *) as the function argument, which does not match with the pthread_create callback which has type void *(*)(void *).  I've got a fix for this that adds a wrapper function of the right type that subsequently calls the function passed to PyThread_start_new_thread.

PR coming up.

----------
components: Build
messages: 313357
nosy: siddhesh
priority: normal
severity: normal
status: open
title: Fix function cast warning in thread_pthread.h
type: compile error

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33015>
_______________________________________


More information about the New-bugs-announce mailing list