Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11683 closed Bugs (duplicate)

Boost thread 1.59 problems on WinXP SP2

Reported by: Daniel Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

Hi, when I compile my software using Boost thread 1.59.0 and run it on a WinXP SP2 machine it won't start. DependencyWalker shows the missing GetLogicalProcessorInformation() as mentioned in ticket:10824.

I think the fix from ticket10824 has been overwritten by later commits. From the history for thread/src/win32/thread.cpp:

1) initial PR on this matter from viboes: physical_concurrency() to "return 0" in case of WinXP [1]

2) fix for VS2010 compiler [2]

3) revert 1) by Niall: "return hardware_concurrency()" again [3]

The ticket:10788 proposed another solution. Could I ask you to look into this matter again please?

Thanks, Daniel


(1): github boostorg /thread/pull/32

(2): github boostorg /thread/commit/8e1be55c6d560c44fb07cc497a3480527957576c

(3:) github boostorg /thread/commit/6a427ac4b6be5406d2d42ff25f10121bb36835cd

Change History (3)

comment:1 by viboes, 7 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:2 by viboes, 7 years ago

Resolution: duplicate
Status: assignedclosed

Hi, thanks for the clear analysis.

I would close it as duplicate of #10788.

comment:3 by Daniel, 7 years ago

Thank you for taking care of this issue!

Note: See TracTickets for help on using tickets.