Bug #93144 Contribution: my_getncpus based on threads available
Submitted: 9 Nov 2018 15:26 Modified: 21 Dec 2018 0:41
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Locking Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[9 Nov 2018 15:26] OCA Admin
Description:
This bug tracks a contribution by Daniel Black (Github user: grooverdan) as described in http://github.com/mysql/mysql-server/pull/228

How to repeat:
See description

Suggested fix:
See contribution code attached
[9 Nov 2018 15:26] OCA Admin
Contribution submitted via Github - my_getncpus based on threads available 
(*) Contribution by Daniel Black (Github grooverdan, mysql-server/pull/228#issuecomment-437249733): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_229587875.txt (text/plain), 3.16 KiB.

[10 Nov 2018 2:11] MySQL Verification Team
Thank you for the contribution.
[21 Dec 2018 0:41] Paul DuBois
Posted by developer:
 
Fixed in 8.0.15.

Determination of the number of online CPUs available to the mysqld
process is now more accurate. Thanks to Daniel Black for the
contribution.
[29 Apr 2019 0:27] Daniel Black
Thanks Thayumanavar for the enhancements added to this in commit de9b0a891eb2989d8e2eb7aa6d94c2856b342b6e, particularly enhancing the Windows implementation to contain identical functionality.