🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52212

Re: "Wracający" read na porcie szeregowym

#52212
From: Przyjazny
Date: Sun, 17 Apr 2011 12:32
11 lines
1323 bytes
On 2011-04-16 17:16, W.P. <laurentp@wp.pl> wrote:
> teraz chciałbym, żeby jeżeli przez jakiś określony czas danych nie
> będzie, to żeby program mógł podjąć jakieś działanie. Czyli musiałby
> wyjść z odczytu z zaznaczeniem że nic nie ma.
>
> Domyślam się, że będzie to non-blocking IO,
> ktoś poda link do (zrozumiałych) przykładów?

Jeśli wychodzisz  - włącz alarm ;-).

perldoc -f alarm
Technical Details
Message-ID: <ioemk4$29h$1@mx1.internetia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail
References: <iocit7$b63$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail
From: Przyjazny <przyjazny@nospam.tld.invalid>
Newsgroups: pl.comp.lang.perl
Subject: Re: "Wracający" read na porcie szeregowym
Date: Sun, 17 Apr 2011 12:32:04 +0000 (UTC)
Organization: Netia S.A.
Lines: 11
Message-ID: <ioemk4$29h$1@mx1.internetia.pl>
References: <iocit7$b63$1@news.onet.pl>
NNTP-Posting-Host: 87-205-87-11.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: mx1.internetia.pl 1303043524 2353 87.205.87.11 (17 Apr 2011 12:32:04 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: Sun, 17 Apr 2011 12:32:04 +0000 (UTC)
X-Tech-Contact: usenet@internetia.pl
User-Agent: slrn/0.9.9p1 (Linux)
X-Server-Info: http://www.internetia.pl/
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit