From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Jun  8 14:26:34 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id OAA93895;
	Thu, 8 Jun 2000 14:26:34 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from atlas-is.co.jp (dns1.atlas-is.co.jp [210.230.230.66])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id OAA93886
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 8 Jun 2000 14:26:31 +0900 (JST)
	(envelope-from endo@atlas-is.co.jp)
Received: from kitahama.atlas-is.co.jp (emerald.atlas-is.co.jp [192.168.11.1])
	by atlas-is.co.jp (8.8.8+2.7Wbeta7/3.6W-uucp) with ESMTP id OAA08277
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 8 Jun 2000 14:25:58 +0900 (JST)
Received: from aquamarine.atlas-is.co.jp ([192.168.11.22])
	by kitahama.atlas-is.co.jp (8.8.8+2.7Wbeta7/3.6W-uucp) with SMTP id OAA09242
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 8 Jun 2000 14:25:18 +0900 (JST)
Message-Id: <200006080525.AA00572@aquamarine.atlas-is.co.jp>
From: endo@atlas-is.co.jp (=?ISO-2022-JP?B?GyRCMXNGIyEhPVNNNRsoQg==?=)
Date: Thu, 08 Jun 2000 14:25:13 +0900
To: FreeBSD-users-jp@jp.freebsd.org
In-Reply-To: <200006080429.AA00569@aquamarine.atlas-is.co.jp>
References: <200006080429.AA00569@aquamarine.atlas-is.co.jp>
MIME-Version: 1.0
X-Mailer: AL-Mail32 Version 1.11
Content-Type: text/plain; charset=iso-2022-jp
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 52428
Subject: [FreeBSD-users-jp 52428] Re: =?ISO-2022-JP?B?GyRCMj8kRxsoQg==?=
 select?
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: endo@atlas-is.co.jp

$B1sF#$G$9!#(B

$B1sF#!!=SM5(B $B$5$s$O=q$-$^$7$?!#(B
>$B$3$l!"J}K!$H$+%Q%C%A$H$+$N%]%$%s%?$r$*65$($$$?$@$1$^$;$s$+!)(B

$B$3$l!"(B
http://www.sun.co.jp/tech/faq/sol2portfaq_ja.html
$B$3$3$r;29M$K$7$^$7$?!#@5$7$$$N$+$J!)(B
$B$3$s$J4X?t$r:n$j$^$7$?!#(B
int nanosleepex( unsigned long int useconds )
{
          struct timeval delay;

          delay.tv_sec = 0;
          delay.tv_usec = useconds;
          if (select(0,
                     (fd_set *) NULL,
                     (fd_set *) NULL,
                     (fd_set *) NULL,
                     &delay) == -1)
            perror("select");
          return (0);
}
$B$$$1$k$+$J!)(B

>$B$H$3$m$G!"(Busleep $B$KCV$-49$($F<B9T$7$?$i(B zonbi $B$,;3$N$h$&$K(B
>$B=PMh$F!"(Bproc $B$,$$$C$Q$$$K$J$C$F$7$^$$$^$7$?!#!J>P!K(B
>$B$^$:$$$^$:$$!#!#!#(B^^;
>$B$3$l$C$F$I$&$7$F!)(B(?_?)

$B$3$l$,=P$J$1$l$PNI$$$s$G$9$1$I!#!#(B
$B<B833+;O$G$9!#(B^^;
