-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thread_nt.c update #47832
Comments
Here is a suggested update to thread_nt.c. It has two significant
|
|
No, CreateThread() is not a suitable replacement, because it lacks |
You are right. |
I do have an issue with the patch's startup code. The prototype for |
No, the startup function for beginthreadex() must be __stdcall. From start_address (__clrcall is for managed code which doesn't apply). Do not confuse beginthreadex() with CreateThread even though they have See http://msdn.microsoft.com/en-us/library/kdzttdcb.aspx for details. Amaury, Where did you find the value 1088 for maximum TLS slots? The |
You're right, Kristján, sorry for the noise. Shouldn't make claims |
Committed this as revision: 68455 |
Windows NT (3.1, and a number of later versions) only support 64 TLS http://www.nynaeve.net/?p=181 TLS slots are typically considered a scarce resource, so that |
Please add a Misc/NEWS entry for this change. |
Note, see defect 4906 for fallout caused by this checkin. |
Misc/NEWS updated in revision: 68544 |
Note, this has been ported to py3k in http://svn.python.org/view? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: