This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2021-06-16.15:37:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623857879.21.0.257957486978.issue44434@roundup.psfhosted.org>
In-reply-to
Content
Unix pthread_create() manual page.
https://man7.org/linux/man-pages/man3/pthread_create.3.html

The new thread terminates in one of the following ways:

(...)
* It  returns  from start_routine().  This is equivalent to calling pthread_exit(3) with the value supplied in
         the return statement.
(...)

Calling pthread_exit(0) is optional.

--


MSDN _beginthreadex() documentation:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/beginthread-beginthreadex?view=msvc-160

"When the thread returns from that routine, it is terminated automatically."

Calling _endthreadex(0) is optional.
History
Date User Action Args
2021-06-16 15:37:59vstinnersetrecipients: + vstinner
2021-06-16 15:37:59vstinnersetmessageid: <1623857879.21.0.257957486978.issue44434@roundup.psfhosted.org>
2021-06-16 15:37:59vstinnerlinkissue44434 messages
2021-06-16 15:37:59vstinnercreate