[Wayland-bugs] [Bug 91799] Usage of timerfd_create and signalfd prevent porting to non-linux platforms

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 31 01:35:54 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91799

--- Comment #4 from Pekka Paalanen <ppaalanen at gmail.com> ---
I take my idea back. I had a chat with Jonas in IRC, and realized that pulling
essentially all event loop features out of libwayland-server would be more work
than I imagined. The single fd you can currently get from the wl_display's
wl_event_loop considers not only all server sockets but all clients too, at
minimum. We'd need much of new API to deal with all that, and furthermore
deprecating anything from a public ABI in a stable library is going to be
painful.

Now I believe that contributions to implement the features in libwayland that
do not work currently on non-Linux are welcome. I wasn't too sure before.

This way all the burden of implementing and maintaining alternate code paths is
on the people working on non-Linux OS's.

And just now I realized you're probably not talking about BSD but Haiku. :-)

I would prefer if we could do the OS-specific things mostly as which .c files
to build in, rather than an #ifdef hell.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150831/9451754d/attachment.html>


More information about the wayland-bugs mailing list