๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Procesos o Threads

#13265
From: Cron
Date: Mon, 12 Mar 2001 16:16
25 lines
1539 bytes
fork() crea un proceso hijo para ejecutarse de forma concurrente al padre.
Los Threads ejecutan hilos de forma concurrente en el mismo proceso (no es
necesario crear procesos hijos) (eso creo).

Salu2


"Swat" <ghe_rivero@yahoo.es> wrote in message
news:98in5i$4g2$1@titan.bt.es...
> Se que no tiene nada que ver, pero, alguien me podria decir la dicerencia
> en fork y threads?
>
>
> Cron <cron@cron.com> escribi๏ฟฝ en el mensaje de noticias
> 98i0ha$fg0$1@diana.bcn.ttd.net...
> > Que recomendariais para hacer un servidor, Procesos (con fork()) o
> Threads?
> >
> > Hasta ahora lo tengo hecho con fork() y memoria compartida.
> >
> > Saludos
> >
> >
>
>
Technical Details
Message-ID: <98isrv$dji$1@diana.bcn.ttd.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
References: <98i0ha$fg0$1@diana.bcn.ttd.net> <98in5i$4g2$1@titan.bt.es>

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-12 08:24:04 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail
From: "Cron" <cron@cron.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Procesos o Threads
Date: Mon, 12 Mar 2001 17:16:14 +0100
Organization: Telefonica Transmision de Datos
Lines: 27
Message-ID: <98isrv$dji$1@diana.bcn.ttd.net>
References: <98i0ha$fg0$1@diana.bcn.ttd.net> <98in5i$4g2$1@titan.bt.es>
NNTP-Posting-Host: 195.77.50.14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400