Mark,
You're right Pthreads should eventually work on Windows/MinGW too.
I don't know if their policy has changed, but the official documentation lists still MASM as requirement for Windows. I did no further research about the reasons.
Please read the (old) statement of our project leader here:
http://mingw-users.1079350.n2.nabble.com/Boost-Context-MinGW-EXPORT-keyword-td7582532.html
Quote from Wayne:
"[..] Good luck! The KiCad project had the same issue. We even submitted our
patch but they refused it. The answer was always the same. Use MASM
with no reasonable explanation as to why the gnu assembler was
unacceptable.
patch but they refused it. The answer was always the same. Use MASM
with no reasonable explanation as to why the gnu assembler was
unacceptable.
[..]
I'm beginning to regret using Boost in KiCad.
[..]"
I don't know if this opinion is still valid.
--
My offer would be to test an alternative implementation, to drop another Boost dependency and build upon a standard library foundation.
Thanks,
Torsten
Gesendet: Montag, 04. Januar 2016 um 06:07 Uhr
Von: "Mark Roszko" <mark.ros...@gmail.com>
An: "Torsten Hüter" <torsten...@gmx.de>
Cc: "KiCad Mailinglist" <kicad-developers@lists.launchpad.net>
Betreff: Re: [Kicad-developers] KiCad Coroutines
Von: "Mark Roszko" <mark.ros...@gmail.com>
An: "Torsten Hüter" <torsten...@gmx.de>
Cc: "KiCad Mailinglist" <kicad-developers@lists.launchpad.net>
Betreff: Re: [Kicad-developers] KiCad Coroutines
>Summary: Fibers (Windows) and Pthreads (all POSIX-compliant operating systems) seem to be the most promising alternatives for context switching
Since msys2 uses mingw, it used to have a pthreads implementation when
I used it years ago. Not sure if the latest has a package for it.
>I did some research and this thing seems to cause constantly trouble, because some assembly "hackery" is required and only MASM is officially supported
Not true at all.
MINGW64 is supported, someone just broke it in boost context
1.59 on our use case.
Works fine in 1.57. The problem is finding
someone brave enough to debug assembly <.<
Since msys2 uses mingw, it used to have a pthreads implementation when
I used it years ago. Not sure if the latest has a package for it.
>I did some research and this thing seems to cause constantly trouble, because some assembly "hackery" is required and only MASM is officially supported
Not true at all.
MINGW64 is supported, someone just broke it in boost context
1.59 on our use case.
Works fine in 1.57. The problem is finding
someone brave enough to debug assembly <.<
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp