On Tue, Feb 26, 2019 at 3:50 AM ice ice <[email protected]> wrote:
> Is there any reason to align real events at the end of watchers list i.e.
>
> loop->watchers[loop->nwatchers] = (void*) events;
> loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds;
>
> why don't put them in the UV_LOOP_PRIVATE_FIELDS  as void * or even better as 
> (for example for linux)
> as, say for Linux,
>
> struct epoll_event* events;
> uintptr_t event_count;
>
> in the UV_PLATFORM_LOOP_FIELDS?
>
> I understand that ABI will be broken , should be such changes to be feature 
> changes for v.2x or something?

ABI breakage is exactly the reason why currently things work the way
they do. It could be changed on the master branch (and already might
have been), that's what will eventually become v2.x.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to