~emersion/basu#4: 
FreeBSD compatibility

Once we've removed all of the Linux-specific stuff, we should look into running this on FreeBSD.

Status
REPORTED
Submitter
github.com:emersion (unverified)
Assigned to
No-one
Submitted
3 years ago
Updated
6 months ago
Labels
enhancement

github.com:kennylevinsen (unverified) 3 years ago · edit

A big question here is what to do with sd_event, which is implemented with epoll and exposed in the sd_bus interface as sd_bus_(attach|detach|get)_event.

Maintaining a kqueue implementation in parallel seems like a pain. A portable version implies stripping the sd_event API a bit, which likely drops e.g. sd_event_get_fd, in which case we need to do something new to allow nested event loops.

github.com:emersion (unverified) 3 years ago · edit

We could go with epoll-shim at first.

github.com:kennylevinsen (unverified) 3 years ago · edit

Register here or Log in to comment, or comment via email.