openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Announcing sdeventplus
@ 2018-08-14 17:59 William Kennington
  2018-08-17 16:26 ` Kun Yi
  0 siblings, 1 reply; 2+ messages in thread
From: William Kennington @ 2018-08-14 17:59 UTC (permalink / raw)
  To: openbmc

I'd like to make available a wrapper around the sd_event libsystemd
infrastructure to all of the openbmc based projects. This project is
intended to closely resemble the sdbusplus project and provide only
minimal wrapping of the systemd constructs, mostly related to handle
ownership and error handling. Currently this is lacking a proper
tutorial but it should be fairly straightforward to map any c-based
sd_event tutorial to sdeventplus. There are 2 example programs which
use some of the functionality. Otherwise this should be a complete
wrapper around sd_svent as of systemd v233. There are some newer
functions added in v237+ which can be optionally added at a later
time.

Please let me know what you think of the project which currently
resides at https://github.com/wak-google/sdeventplus. This should find
a new home at https://github.com/openbmc/sdeventplus if it receives
good feedback.

Thanks,
William

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Announcing sdeventplus
  2018-08-14 17:59 Announcing sdeventplus William Kennington
@ 2018-08-17 16:26 ` Kun Yi
  0 siblings, 0 replies; 2+ messages in thread
From: Kun Yi @ 2018-08-17 16:26 UTC (permalink / raw)
  To: William Kennington; +Cc: OpenBMC Maillist

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

Great stuff! Thanks William for the effort!

There are many adhoc usages of sd_event scattered around and having a
common library would definitely help with code reusability.
A simple search for "org:openbmc sd_event" returns 89 results in our
codebase.

On Tue, Aug 14, 2018 at 11:00 AM William Kennington <wak@google.com> wrote:

> I'd like to make available a wrapper around the sd_event libsystemd
> infrastructure to all of the openbmc based projects. This project is
> intended to closely resemble the sdbusplus project and provide only
> minimal wrapping of the systemd constructs, mostly related to handle
> ownership and error handling. Currently this is lacking a proper
> tutorial but it should be fairly straightforward to map any c-based
> sd_event tutorial to sdeventplus. There are 2 example programs which
> use some of the functionality. Otherwise this should be a complete
> wrapper around sd_svent as of systemd v233. There are some newer
> functions added in v237+ which can be optionally added at a later
> time.
>
> Please let me know what you think of the project which currently
> resides at https://github.com/wak-google/sdeventplus. This should find
> a new home at https://github.com/openbmc/sdeventplus if it receives
> good feedback.
>
> Thanks,
> William
>


-- 
Regards,
Kun

[-- Attachment #2: Type: text/html, Size: 1962 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-17 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 17:59 Announcing sdeventplus William Kennington
2018-08-17 16:26 ` Kun Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).