[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] [ECORE][PATCH]Ecore Daemon

On Mon, 24 Jul 2006 20:58:27 +0100 Essien Ita Essien <essien@wazobialinux.com>

> Hiya all,

i think for now, we don't really need this in ecore as such. but maybe we will
revisit it in the future?

> Doing some more cleanups in Entrance has led me to require a proper 
> daemon library in the EFL. After acertaining that none such existed, 
> I've ported a small library which i use for my personal coding to an 
> Ecore subsystem Ecore_Daemon.
> The process I followed are outlined here: 
> http://www.linuxprofilm.com/articles/linux-daemon-howto.html
> The patch contains the first incarnation of Ecore_Daemon after porting 
> it from my code to an Ecore subsystem. The patch also contains an 
> example in examples/daemon_example.c
> Its a small contained body of code, so here we go.
> The library is designed around ecore_daemon_daemonize(), which does all 
> the work. You can set params before calling daemonize, but you can just 
> use it as it is, as ecore_daemon_init() sets sane params for you already.
> Please review [*hint* rephorm, handyande *end-hint* :D] and advice. 
> (Especially all them autoKUNGfoo. I tested it properly, but i'm not a 
> 3rd dan autoKUNGfoo practitioner so I may invariably break stuff?)
> Once this is sorted out, I can get back to using it from within 
> Entrance. Makes things a whole lot more nicer.
> Cheers,
> Essien

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
Tokyo, Japan (東京 日本)