Thread overview | |||||
---|---|---|---|---|---|
|
May 06, 2019 __gshared 32 & 64 bit | ||||
---|---|---|---|---|
| ||||
Hello, is there a difference between __gshared on 32 and 64 bit apps ? I have an IOCP app on windows that works correctly when compiled as 64 bit, but crash/block when compiled as 32 bit. Thanks. |
May 06, 2019 Re: __gshared 32 & 64 bit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aldo | On 2019-05-06 15:43, Aldo wrote: > Hello, > > is there a difference between __gshared on 32 and 64 bit apps ? Shouldn't be. > I have an IOCP app on windows that works correctly when compiled as 64 bit, but crash/block when compiled as 32 bit. Do you have a reduced test case? Which compilers have you used? Try LDC, unless you already have. -- /Jacob Carlborg |
May 07, 2019 Re: __gshared 32 & 64 bit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Monday, 6 May 2019 at 18:21:28 UTC, Jacob Carlborg wrote:
> On 2019-05-06 15:43, Aldo wrote:
>> Hello,
>>
>> is there a difference between __gshared on 32 and 64 bit apps ?
>
> Shouldn't be.
Yeah, maybe you're running into issues with the antique DigitalMars runtime? It has well-known issues with concurrency.
Try LDC or the COFF output (-m32mscoff).
|
Copyright © 1999-2021 by the D Language Foundation