Opened 8 years ago
Closed 8 years ago
#10996 closed Bugs (fixed)
Thread physical_concurrency() is failing on Windows
Reported by: | Niall Douglas | Owned by: | Niall Douglas |
---|---|---|---|
Milestone: | Boost 1.58.0 | Component: | thread |
Version: | Boost 1.57.0 | Severity: | Regression |
Keywords: | Cc: |
Description
As previously discussed. Assigning to myself.
Change History (6)
comment:1 by , 8 years ago
Owner: | changed from | to
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
I'm a bit confused why we disable use of GetLogicalProcessorInformation() at all actually as out lowest supported platform is Windows XP SP3.
I've removed the check here so it only disables on WinRT from now on. And for WinRT it now returns hardware_concurrency(). If it passes on Mingw I'll push the fix.
comment:5 by , 8 years ago
Milestone: | To Be Determined → Boost 1.58.0 |
---|
comment:6 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Would it be enough to return
instead of returning 0 in