kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #28405
Re: [PATCH] Fix MacOS coroutine segfault
-
To:
Torsten Hüter <torstenhtr@xxxxxx>, KiCad Mailinglist <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>
-
Date:
Thu, 2 Mar 2017 16:25:19 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.48) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
In-reply-to:
<trinity-be03b46f-e484-4c67-8d25-479b8c06fcdd-1488466681539@3capp-gmx-bs16>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
On 02.03.2017 15:58, "Torsten Hüter" wrote:
> Chris:
>>> With a proper implementation this should be indistinguishable from
>>> coroutines, including to wx.
>
> This is your opinion not mine, I'm not sure. Again, read the paragraph about secondary threads:
> http://docs.wxwidgets.org/3.1/overview_thread.html
>
> "[..] under Win32 a thread can only access GDI objects such as pens, brushes, device contexts created by itself and not by the other threads [..]"
Hi all,
In the meanwhile, I've added support linux/arm and linux/aarch64 for
libcontext, tested on qemu. I'll send a patch later, hope that there'll
be some brave OSX/Windows people to test it ;-)
Cheers,
Tom
>
> One of the reasons why they strongly recommend "no secondary threads call GUI functions".
>
> --
>
> However, if you can ensure that the coroutines never call GUI functions, threads should be a nice alternative. I remember Orson has written, that this should be possible. Maybe he can answer the question if this restriction is still acceptable. Then I could rescue my implementation from my backups.
>
> Thanks,
> Torsten
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Wayne Stambaugh, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Tomasz Wlostowski, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Chris Pavlina, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Tomasz Wlostowski, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Chris Pavlina, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Wayne Stambaugh, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Chris Pavlina, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Wayne Stambaugh, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Chris Pavlina, 2017-03-01
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Torsten Hüter, 2017-03-02
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Chris Pavlina, 2017-03-02
-
Re: [PATCH] Fix MacOS coroutine segfault
From: Torsten Hüter, 2017-03-02