🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13197

Re: Procesos o Threads

#13197
From: Mario Teijeiro Otero
Date: Tue, 13 Mar 2001 13:30
18 lines
1762 bytes
Cron wrote:

> Si utilizo __clone(int (*fn) (void *arg), void *child_stack, int flags,
> void *arg) para crear los procesos hijos, las variables creadas dentro de
> la funcion fn se compartir�n?
No, porque las variables que hay dentro de la funci�n son locales a la
funci�n, es decir, ocupan espacio de la pila, y la pila que utilizan es
distinta,.

Saludos
-- 
 AX, BX, CX ... Ensamblador o Citr�en? 

"Yo uso software libre" (declaraci�n a petici�n de Richard M. Stallman)

Mario Teijeiro Otero           mailto:asimovi at teleline dot es         
NiCK: emeteo en irc (#debian, #java, #escomposlinux).
clave: correo con Asunto: "[PGPKEY]"     Usr. Reg. 122438               
Technical Details
Message-ID: <9d7l89.jdf.ln@asimovi.localdomain>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.mad.ttd.net!asimovi.localdomain!nobody
References: <98i0ha$fg0$1@diana.bcn.ttd.net> <98in5i$4g2$1@titan.bt.es> <nraj89.ik1.ln@asimovi.localdomain> <984440584.1123530143@news.inicia.es> <98knsf$bco$1@diana.bcn.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,cf5dea8aefc646f8
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-03-13 12:40:08 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.mad.ttd.net!asimovi.localdomain!nobody
From: Mario Teijeiro Otero <mteijeiro@NOSPAMescomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Procesos o Threads
Date: Tue, 13 Mar 2001 14:30:17 +0100
Organization: Telefonica Transmision de Datos
Lines: 19
Message-ID: <9d7l89.jdf.ln@asimovi.localdomain>
References: <98i0ha$fg0$1@diana.bcn.ttd.net> <98in5i$4g2$1@titan.bt.es> <nraj89.ik1.ln@asimovi.localdomain> <984440584.1123530143@news.inicia.es> <98knsf$bco$1@diana.bcn.ttd.net>
NNTP-Posting-Host: 193-152-67-206.uc.nombres.ttd.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
User-Agent: KNode/0.4