Re: lug-bg: AutoSlack 1.7 KeepAlive script: more on fork
- Subject: Re: lug-bg: AutoSlack 1.7 KeepAlive script: more on fork
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Sat, 26 May 2001 20:13:30 +0300
Zdrasti ,
On Saturday 26 May 2001 17:44, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hello there,
>
> On Sat, 26 May 2001, George Danchev wrote:
> >> >Programkata raboti idelno , probah q s nai razli4ni processes , pravi
> >> > mnogo burz forking na natovarena mashina . Vuobste ste svurshi rabota
> >> > i za mnogo drugi nesta , ne samo za autoslack-a...
> >>
> >> E, niama byrz ili baven forking, toi e samo edin i vinagi se pravi po
> >> systata procedura ot kernel ;-) Razlikata idva samo ot lipsata ne
> >> niakolko celofanovi obvivki, t.e. wrapping-ga ;-)
> >
> >mai ne se izrazih pravilno . Vsustnost dokolkoto razbiram keepalive e edin
> >thread koito reagira na signal
>
> Syvsem tochno, signalyt e SIGCHLD, generira se ot kernel i signalizira,
> che edno ot children e terminiralo.
>
> >i eventualno ako moje fork-va .
>
> Po-skoro bezuslovno, otkolkoto eventualno. keepalive pravi vinagi opit za
> fork pri poluchen SIGCHLD, makar rezultatyt da ne e garantiran.
>
> Ste se opitam da go ilustriram s edin vesel dialog:
>
> Child process: "Ouch! I've been shot! I'm dying..." *plop*
> Linux Kernel: *ding-dong* "Somebody has died, let's see why?"
> Linux Kernel examines the exit status and tells parent:
> *ring-ring* "Excuse me, parent, your child Nr. 1445 has died."
> Parent process: "Oh, my sweetie's been shot dead! Never mind,
> I'll just make another one."
>
> Tuk triabva da otbeleja, che ne e nujno prisystvieto na drug roditel za
> praveneto na deca. T.e. razmnojavaneto e bezpolovo, tyi da se kaje ;-Pp
>
> >No tova e edna druga dulga tema , koqto mi e mutna ...
>
> Mytna e, no samo na pryv pogled ;-)
merci za lekciqta , bez da iskam go razbrah . Trqbwa da si izqsnqwam oste
ponqtiq , kato system calls i t.n. Za sujalenie ne mi ostava mnogo vreme za
tova .
>
> >4ovek moje da napravi dosta porazii s nego i da susipe stable slack , a i
> >vse oste ne e dovurshen vupreki 4e e version > 1 .
>
> Chudno mi e kak si se reshil da instalirash beta software, i to takyv,
> koito moje potencialno da ti ruinira cialata sistema ;-)
>
> >abiword ... nesto neharakterno za slack ... no puk na FTP-to si pishe 4e
> > vse oste packages ne sa sinhronizirani i moje da ima zabozishe tuk tam
> > ...
>
> Gledai samo da ne opletesh bibliotekite, hei!
>
Ami moita mashina ne e angajirana da izpulnqwa nisto seriozno , prosto home
user . Osven tova na sustata mashina imam oste 2 mom4enca s qki package
managers ( deb, freezbi) koito mogat da poemat rabotata, taka 4e moga
experimentiram s takiva software-ta , koeto za men e udovolstvie :)))
So keepalive ;-)
> >> > Hell man , don't you think I could ever die , I was born to never
> >> > die ! ./keepalive: forked child process with (pid 1448)
> >> > Need a cigarette sometimes !!!
> >>
> >> Tova mai e tvyrde verbose ;-) Osven tova az ne pusha :-) A i ne e
> >> etichno edna programa da nasyrchava smoking ;-)=~~~~
> >
> >suglasen , prosto tova mi doide na uma togava . Will be patched ;-)
>
> Ami ti seriozno li si vkaral rezi printf's v programata???
>
e da no gi poiz4istih , po-semplo po-dobre , nqma nujda ot tolkova surkazum .
> >> >znaeh si az 4e "Source will beat them all" !!!
> >>
> >> Koi sa tezi "all"? I koi e "Source"? ;-)
> >
> >Tova go 4etoh nqkude , ama ne pomnq kude .
>
> Sheguvam se ;-)
>
>
>
> - --
> PGP 1024D/959FC3BC 2001-02-12 Vladimir Dzhuvinov <vd@xxxxxxxxx>
> Key fingerprint = CB20 FC83 775C C34E 49D5 0F71 BAE5 7C38 959F C3BC
> Download public PGP key from http://www.valan.net/vdzhuvinov.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE7D8E5uuV8OJWfw7wRArM0AJoCGkJvANF+jX3QDLY5T/kWwDBaKACfSLLg
> GmcHx5m4flpePC4b6+F5CUg=
> =aC/M
> -----END PGP SIGNATURE-----
>
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|