User data of epoll event is reported abnormally by epoll_wait.
Dominikus Dittes Scherkl via Digitalmars-d
digitalmars-d at puremagic.com
Tue Aug 19 23:17:41 PDT 2014
On Wednesday, 20 August 2014 at 06:11:42 UTC, blake kim wrote:
> But I don't think this is right. Many C APIs need structure as
> argument and adjusting align each structure doesn't make sense.
>
> Is this problem a Bug of D ?
Default alignment in D is pointersize (size_t) - so 8 on 64bit.
But most C compilers default to 4 regardless of pointersize.
I think this is more a bug in C than in D.
More information about the Digitalmars-d
mailing list