[RFC PATCH] ntdll: Swallow crashes once pthread_exit() has been called.

Stefan Dösinger stefandoesinger at gmail.com
Tue Dec 21 15:03:51 CST 2021



> Am 20.12.2021 um 09:38 schrieb Giovanni Mascellani <gmascellani at codeweavers.com>:
> 
> Hi,
> 
> On 17/12/21 23:02, Chip Davis wrote:
>> This won't work on platforms other than Linux, and not just because
>> only Linux has the __NR_* symbols for syscall numbers.
> Thanks for the feedback. The idea of that call is to immediately exit the thread without further cleanup, but signalling a clean exit. I don't think there is a way to do that portably. Which are the "supported" platforms I should care about for a non-portable patch to be accepted?

You'd at least need #ifdefs to make sure other platforms compile, even if the kind of graceful exit you are trying to ensure doesn't work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211221/66971698/attachment.sig>


More information about the wine-devel mailing list