Article View: es.comp.os.linux.programacion
Article #10696Re: pthread y delay, sleep o similar
From: NotFound
Date: Wed, 13 Feb 2002 17:20
Date: Wed, 13 Feb 2002 17:20
11 lines
1297 bytes
1297 bytes
> estoy utilizando la librería pthread para un programa en c, me gustaría > que un thread durmiera durante un tiempo determinado, pero por lo que he > leido (no probado) si hago un sleep, este thread dormirá todo el > proceso. Si estás usando threads "de verdad" un sleep dormirá solamente a ese thread. Salu2
Technical Details
Message-ID:
<3C6AA041.F0209FDF@hobbiton.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!cesio.mundo-r.com!not-for-mailReferences:
<pan.2002.02.13.13.30.56.592510.1561@dedonde.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,2ebf9ad9ff2eb289 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-02-13 11:20:19 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!195.158.233.21!news.ebone.net!news1.ebone.net!cesio.mundo-r.com!not-for-mail From: NotFound <blassic@hobbiton.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: pthread y delay, sleep o similar Date: Wed, 13 Feb 2002 18:20:01 +0100 Organization: Another Netscape Collabra Server User Lines: 11 Message-ID: <3C6AA041.F0209FDF@hobbiton.org> References: <pan.2002.02.13.13.30.56.592510.1561@dedonde.es> NNTP-Posting-Host: cm64148.red.mundo-r.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: en