Date: Thu, 25 Aug 2005 18:47:35 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: FreeBSD-arch <freebsd-arch@freebsd.org> Subject: Re: New library: libpidfile. Message-ID: <20050825144735.GA59955@comp.chem.msu.su> In-Reply-To: <20050824171437.GA755@garage.freebsd.pl> References: <20050822213028.GB4812@garage.freebsd.pl> <ygek6id48nn.wl%ume@mahoroba.org> <20050823080754.GA47261@garage.freebsd.pl> <20050823202656.GB30465@funkthat.com> <20050824134540.GA94265@comp.chem.msu.su> <20050824171437.GA755@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 24, 2005 at 07:14:37PM +0200, Pawel Jakub Dawidek wrote: > On Wed, Aug 24, 2005 at 05:45:40PM +0400, Yar Tikhiy wrote: > +> > > +> > Neither, of these are safe to prevent multiple daemons from starting > +> > up at the same time... Both NetBSD and OpenBSD doesn't even check if > +> > a daemon is running.. it just blindly splats the pid into the file.. > +> > +> Of course, giving advices is much easier than doing the real work, > +> but I dare suggest cooperation with NetBSD and OpenBSD on this issue > +> so that eventually we have a good and compatible implementation of > +> the pidfile API in *BSD. I believe that the NetBSD and OpenBSD > +> folks won't take offence if approached with a well-grounded explanation > +> of why their current pidfile functions suck. > > They are of course free to adpot pidfile(3) and I'll gladly provide > all needed explanations if they'll ask me. And what if they miss your effort and don't ask you in the first place? My point is that a bit of good will won't hurt when we see evidently rotten code in other projects and have a better solution to offer. This is particularly true for *BSD since we all grow from the same root. In addition, by taking the initiative you'll encourage *BSD folks to provide useful feedback on your work. To my mind, it is a wonderful opportunity that as little as a mere email can help to make *BSD a tad better and more compatible. -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050825144735.GA59955>