Replies: 2 comments 2 replies
-
Personally, I think this addition would provide value and opportunities to optimize. On my current project, I have created a C++ wrapper around To avoid introducing dependencies to the struct sd_event;
void IConnection::attachEventLoop(struct sd_event *e, int priority); |
Beta Was this translation helpful? Give feedback.
-
@hadrianw Thank you for kind words. Would you like to prepare a PR for this along the lines of @dleeds-cpi 's comment? |
Beta Was this translation helpful? Give feedback.
-
Hello,
First I would like you thank you for this project.
I would like to ask if you have considered an sd_bus_attach_event wrapper? At my employer we use your nice project and we started to migrate also to sd-event for our event loops. For our needs I made a wrapper for it. It is not yet decided whether or not we will go with it.
I was wondering if you would consider accepting a pull request with it. Also if yes what would be required by you in terms of the implementation. For now I have a non-hermetic API for it:
void IConnection::attachEventLoop(sd_event *ev, int priority)
. I understand it does not really fit with the rest of the library, but if there are ways you would see it better I'm all ears.Kind regards and thank you,
Hadrian Węgrzynowski
Beta Was this translation helpful? Give feedback.
All reactions