Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Port some parts to Glib #32

Open
Samsagax opened this Issue Jan 10, 2012 · 4 comments

Comments

Projects
None yet
3 participants
Owner

Samsagax commented Jan 10, 2012

There are some parts that are interesting to be ported to Glib library, that would make the code both cleaner, shorter and even more portable.

Such parts could be:

  • Configuration structure
  • Configuration parsing
  • Socket communication
  • Process spawning

I'll start experimenting with this in a new branch and stage it for 3.1 (or even later). (I won't be available until February)

@ghost ghost assigned Samsagax Jan 10, 2012

Owner

Lekensteyn commented Feb 5, 2012

Process spawning: done in common-dbus

Owner

Samsagax commented Feb 6, 2012

Why are we so stupid we didn't see this: http://0pointer.de/lennart/projects/libdaemon/#overview

:: facepalm ::

Should we look into it?

Owner

Lekensteyn commented Feb 6, 2012

Well it indeed contains features usefu lfor writing daemons. If we've time, you can have a look at it. Since we're using GLib, doesn't that provide such features as well?

Owner

Samsagax commented Feb 6, 2012

I'm wondering If we can switch the libbsd functionallity we are using just for pidfiles with this libdaemon lib. Seems a lot more widespread than libbsd

@ArchangeGabriel ArchangeGabriel modified the milestone: Bumblebee Future Jan 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment