Opened 15 months ago

Last modified 14 months ago

#5671 assigned enhancement

Include winpthread for Windows

Reported by: Christian Andersson Owned by: Christian Andersson
Priority: major Milestone:
Component: Build Version: trunk
Keywords: Cc:

Description

The current implementation of pthreads that we are using on Windows do not work when run together with a VS2017 compiled program. We need to update and add a separate build of pthreads and link against that.

We should use: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-libraries/winpthreads/

Change History (10)

comment:1 Changed 15 months ago by Christian Andersson

comment:2 Changed 15 months ago by Christian Andersson

changeset:11556

Adding winpthreads from ​https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-libraries/winpthreads to the build system and added so that our FMUs are linked against that library to overcome an issue on Windows 10 using our FMUs together with VS2017 compiled software. Related to ticket:5671

comment:3 Changed 14 months ago by Christian Andersson

changeset:11561

Added tests for ticket:5671

comment:4 Changed 14 months ago by Christian Andersson

changeset:11563

Fixed 32bit winpthreads. Related to ticket:5671

comment:5 Changed 14 months ago by Christian Andersson

changeset:11564

Merged from trunk and updated changelog. Related to ticket:5671

comment:6 Changed 14 months ago by Christian Andersson

changeset:11565

Merged pthreads to trunk. Related to ticket:5671

comment:7 Changed 14 months ago by Christian Andersson

changeset:11566

Fixed bug introduced in changeset:11565. Related to ticket:5671

comment:8 Changed 14 months ago by Christian Andersson

changeset:11571

Merged changes made in ticket:5671 to release branch.

comment:9 Changed 14 months ago by Christian Andersson

changeset:11574

Updated a typo, related to ticket:5671

comment:10 Changed 14 months ago by Christian Andersson

changeset:11575

Merged changeset:11574 to the release branch. Related to ticket:5671

Note: See TracTickets for help on using tickets.