delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/28/01:23:26

X-Spam-Check-By: sourceware.org
X-YMail-OSG: oA9uQI8VM1mGK6wb_gSLwFxgg5V.Yl4w3m6aC9.2Pw.Iz1_eMAOX3Q7wgV_RXcgc7c9Z.Xn3kvgc81AkuFc2rdbzaqPW5l.fmVWm
X-Mailer: YahooMailRC/476 YahooMailWebService/0.7.41.8
Date: Wed, 28 Mar 2007 11:53:03 +0530 (IST)
From: neo napster <neo_realnapster AT yahoo DOT co DOT in>
Subject: Re: EAGAIN Error while processing a batch of transaction messages.
To: cygwin cygwin <cygwin AT cygwin DOT com>
MIME-Version: 1.0
Message-ID: <77175.82813.qm@web7611.mail.in.yahoo.com>
X-IsSubscribed: yes
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

Thanks immediate response. 
I am soory for that, we did not use NOWAIT option,
then can i know why we will get this error? 


----- Original Message ----
From: Warren Young <warren AT etr-usa DOT com>
To: Cygwin-L <cygwin AT cygwin DOT com>
Sent: Wednesday, 28 March, 2007 11:06:53 AM
Subject: Re: EAGAIN Error while processing a batch of transaction messages.


neo napster wrote:
> 
> My applications want to process messages in Block mode 
> so i am using NOWAIT option.

You've just contradicted yourself.  NOWAIT means non-blocking.  If you 
want your program to block, waiting for messages, you don't set the 
NOWAIT option... you wait.  That's what blocking means.

If you do indeed want to do non-blocking, then EAGAIN is *absolutely 
normal*.  It's supposed to do that.

Get a book on Unix network programming, and take the problem up on a 
Unix network programming mailing list.  This is not a Cygwin issue. 
This is a newbie programmer issue.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019