User data of epoll event is reported abnormally by epoll_wait.

Etienne via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 21 05:45:59 PDT 2014


On 2014-08-20 6:01 AM, blake kim wrote:
> extern(C) align(1) struct epoll_event {
> align(1):
>    uint events;
>    epoll_data_t data;
> }
>

Wow, that fixes my issue! I couldn't use more than 1 event in my array 
because of misalignment, thanks!


More information about the Digitalmars-d mailing list