delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4593056F.90903@sh.cvut.cz> |
Date: | Thu, 28 Dec 2006 00:44:47 +0100 |
From: | =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V DOT Haisman AT sh DOT cvut DOT cz> |
User-Agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: select failed: Interrupted system call |
References: | <89c3ea2b0612251412waf7c549x3761f5a56655cfeb AT mail DOT gmail DOT com> |
In-Reply-To: | <89c3ea2b0612251412waf7c549x3761f5a56655cfeb@mail.gmail.com> |
OpenPGP: | id=1204AF05; url=http://logout.sh.cvut.cz/~wilx/Vaclav_Haisman_(0x63B6B297)_pub.asc |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enigBD6416FC889EDD8D697CFD40 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable andy wang wrote, On 25.12.2006 23:12: > Hi, All: >=20 > What's the reason can cause interrupted system call. the same program > will not be interrupted running at linux. I know a singal can, Is > there anything else can? Is there possible that pthread_cond_signal > will do the same thing too? >=20 > Regards, > Andy >=20 Any delivered signal can interrupt interruptable system call, IIRC. You should check for the condition and handle it. If it is some particular sign= al that is interrupting the call then you could use SA_RESTART flag. -- wilx --------------enigBD6416FC889EDD8D697CFD40 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRZMFdkNOZDESBK8FAQIzwAgAnr9pX/jpsUoY2ou+E800HJkKTlhUZxto ZrUtBHQwvE6fOFhukZtlW1zTAnmUE7KgtJzIHg42IHi14d2dOHYx+g6dixuQL0T3 HL6PNZ5y0SGLrjneG7gQYeFbBwox86QwDE74Spro2T8tloBUVmCwSjUmHgttHyUR vz534mrQyz9B1LgYG5ZaBDWjdHJrpbub8CEtW1vqczn7gIug8yj9giWyOmmgfKq5 k/IIH5D08qVcMG7U7mPizEy+cVh6bzbDFrbJaS+Nnwy9WoG0L5jLQ/WXsmojByvE uWedMp+cPgU9pzH4FvI4qlnoZFpbjozx2B5ZiCeNVxhijSD0wJ+z1Q== =lxYw -----END PGP SIGNATURE----- --------------enigBD6416FC889EDD8D697CFD40--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |