public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* asynchronous I/O
@ 1997-10-13  3:53 hasslauer
  0 siblings, 0 replies; 13+ messages in thread
From: hasslauer @ 1997-10-13  3:53 UTC (permalink / raw)
  To: gnu-win32

Is it possible to use asynchronous I/O to notify the process that something of interest has 
happend on a descriptor ?
gnu-win32 doesn't define SIGIO and SIGPOLL.

Juergen


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Asynchronous i/o
@ 2007-11-14 17:21 Mike_Cygwin
  0 siblings, 0 replies; 13+ messages in thread
From: Mike_Cygwin @ 2007-11-14 17:21 UTC (permalink / raw)
  To: cygwin


>   Should be fairly straightforward to implement, as windows I/O functions
> support asynchronous operations (called "overlapped" in msdn technology).  You
> shouldn't need to modify anything except the cygwin dll sources to add the
> functions.
> 
>   See
> http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin for
> some guidelines on how to build the cygwin dll from source.  When adding new
> functions to the DLL, you also need to list them in the "cygwin.din" file -
> that defines which functions get exported and which don't.
> 
> 
OK...learning. ;-[)

My reason for asking these questions is because some of the digging I did suggested there were other things not yet implemented that would make it near impossible to do this (something about pthreads).  What I am hearing now is that this not the case (anymore).  I will look at the links you provided.

Thanks,

Mike

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Asynchronous i/o
  2007-11-14 15:34 Mike_Cygwin
@ 2007-11-14 15:59 ` Dave Korn
  0 siblings, 0 replies; 13+ messages in thread
From: Dave Korn @ 2007-11-14 15:59 UTC (permalink / raw)
  To: cygwin

On 14 November 2007 15:23, Mike_Cygwin wrote:

> and treated as a newbie for a while.  I do believe I have adressed the TOFU
> thing and that other thing that is too loon to remember.  

  LOL, great typo there.  The blanking people's addresses thing you've got
right, but only half the TOFU thing - you've stopped the TO, but you're still
doing the FUll quote of the entire message you're replying to without any
trimming, including all those useless trailers etc.

> Now, has anybody else thought about this, got some historical info, etc? 
> Anybody else interested in it? 

  Should be fairly straightforward to implement, as windows I/O functions
support asynchronous operations (called "overlapped" in msdn technology).  You
shouldn't need to modify anything except the cygwin dll sources to add the
functions.

  See
http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin for
some guidelines on how to build the cygwin dll from source.  When adding new
functions to the DLL, you also need to list them in the "cygwin.din" file -
that defines which functions get exported and which don't.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Asynchronous i/o
@ 2007-11-14 15:34 Mike_Cygwin
  2007-11-14 15:59 ` Dave Korn
  0 siblings, 1 reply; 13+ messages in thread
From: Mike_Cygwin @ 2007-11-14 15:34 UTC (permalink / raw)
  To: cygwin


> > My email manager does not blank out addresses...so I am doing the
> > attactment thing.  Is that ok? 
> > 
> > Mike
> 
>   Epic FAIL, since you ask.  Had any coffee yet this morning?
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 
> 
> --
> 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/
> 

What ever.  I really wanted to talk about AIO.  Guess I have to get spanked and treated as a newbie for a while.  I do believe I have adressed the TOFU thing and that other thing that is too loon to remember.

Now, has anybody else thought about this, got some historical info, etc?  Anybody else interested in it?

Mike

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: Asynchronous i/o
  2007-11-14 15:14 Mike_Cygwin
@ 2007-11-14 15:23 ` Dave Korn
  0 siblings, 0 replies; 13+ messages in thread
From: Dave Korn @ 2007-11-14 15:23 UTC (permalink / raw)
  To: cygwin

On 14 November 2007 14:57, Mike_Cygwin wrote:

> My email manager does not blank out addresses...so I am doing the
> attactment thing.  Is that ok? 
> 
> Mike

  Epic FAIL, since you ask.  Had any coffee yet this morning?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Asynchronous i/o
@ 2007-11-14 15:14 Mike_Cygwin
  2007-11-14 15:23 ` Dave Korn
  0 siblings, 1 reply; 13+ messages in thread
From: Mike_Cygwin @ 2007-11-14 15:14 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

My email manager does not blank out addresses...so I am doing the attactment thing.  Is that ok?

Mike

[-- Attachment #2: Type: message/rfc822, Size: 3214 bytes --]

From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Asynchronous i/o
Date: Wed, 14 Nov 2007 10:12:53 +0100
Message-ID: <20071114091253.GD4987@calimero.vinschen.de>



http://cygwin.com/acronyms/#TOFU
http://cygwin.com/acronyms/#PCYMTNQREAIYR


On Nov 13 17:28, XXXXXXXXXXX@XXXXXXX.XXX wrote:
> Thanks for replying... I saw your earlier posts about the subject.  Before I say yes, might you tell me what limitations there are in Cygwin that would make this terribly difficult?

You mean, besides of the limitation having to work on Windows?  Nothing
I'm aware of.

> Also, what do folks do with code that requires the header?  Just rewrite their code?

I assume they do what everybody has to do when porting applications
between platforms.  Use what's available on the new platform.  That's
the idea behind autoconf and friends, for instance.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/



[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Asynchronous i/o
@ 2007-11-14 14:57 Mike_Cygwin
  0 siblings, 0 replies; 13+ messages in thread
From: Mike_Cygwin @ 2007-11-14 14:57 UTC (permalink / raw)
  To: cygwin


 -------------- Original message ----------------------
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
> 
> 
> http://cygwin.com/acronyms/#TOFU
> http://cygwin.com/acronyms/#PCYMTNQREAIYR
> 
> 
> On Nov 13 17:28, XXXXXXXXXXX@XXXXXXX.XXX wrote:
> > Thanks for replying... I saw your earlier posts about the subject.  Before I 
> say yes, might you tell me what limitations there are in Cygwin that would make 
> this terribly difficult?
> 
> You mean, besides of the limitation having to work on Windows?  Nothing
> I'm aware of.
> 
> > Also, what do folks do with code that requires the header?  Just rewrite their 
> code?
> 
> I assume they do what everybody has to do when porting applications
> between platforms.  Use what's available on the new platform.  That's
> the idea behind autoconf and friends, for instance.
> 
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
> 
> --
> 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/
> 

Crud, I replied wrong.  Hoping I got the email issues handled.

I was wondering if other packages would need to be modified when implementing AIO...my guess is yes.  I woill download kernel sources and take a look.

Mike

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Asynchronous i/o
@ 2007-11-14 14:50 Mike_Cygwin
  0 siblings, 0 replies; 13+ messages in thread
From: Mike_Cygwin @ 2007-11-14 14:50 UTC (permalink / raw)
  To: cygwin


 -------------- Original message ----------------------
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
> 
> 
> http://cygwin.com/acronyms/#TOFU
> http://cygwin.com/acronyms/#PCYMTNQREAIYR
> 
> 
> On Nov 13 17:28, XXXXXXXXXXX@XXXXXXX.XXX wrote:
> > Thanks for replying... I saw your earlier posts about the subject.  Before I 
> say yes, might you tell me what limitations there are in Cygwin that would make 
> this terribly difficult?
> 
> You mean, besides of the limitation having to work on Windows?  Nothing
> I'm aware of.
> 
> > Also, what do folks do with code that requires the header?  Just rewrite their 
> code?
> 
> I assume they do what everybody has to do when porting applications
> between platforms.  Use what's available on the new platform.  That's
> the idea behind autoconf and friends, for instance.
> 
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
> 
> --
> 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/
> 

Am I doing better now?  ;-)  I think I made all the adjustments that you suggested.

What I was wondering was if there might be changes to other packages when trying to impliment AIO... my guess is yes.

Mike

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Asynchronous i/o
  2007-11-13 18:08 mike_cygwin
@ 2007-11-14  9:34 ` Corinna Vinschen
  0 siblings, 0 replies; 13+ messages in thread
From: Corinna Vinschen @ 2007-11-14  9:34 UTC (permalink / raw)
  To: cygwin



http://cygwin.com/acronyms/#TOFU
http://cygwin.com/acronyms/#PCYMTNQREAIYR


On Nov 13 17:28, XXXXXXXXXXX@XXXXXXX.XXX wrote:
> Thanks for replying... I saw your earlier posts about the subject.  Before I say yes, might you tell me what limitations there are in Cygwin that would make this terribly difficult?

You mean, besides of the limitation having to work on Windows?  Nothing
I'm aware of.

> Also, what do folks do with code that requires the header?  Just rewrite their code?

I assume they do what everybody has to do when porting applications
between platforms.  Use what's available on the new platform.  That's
the idea behind autoconf and friends, for instance.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Asynchronous i/o
@ 2007-11-13 18:08 mike_cygwin
  2007-11-14  9:34 ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: mike_cygwin @ 2007-11-13 18:08 UTC (permalink / raw)
  To: cygwin, cygwin; +Cc: Corinna Vinschen

Thanks for replying... I saw your earlier posts about the subject.  Before I say yes, might you tell me what limitations there are in Cygwin that would make this terribly difficult?

Also, what do folks do with code that requires the header?  Just rewrite their code?

Mike
 -------------- Original message ----------------------
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
> On Nov 13 16:25, mike_cygwin@comcast.net wrote:
> > New here, but I did review archives for info regarding AIO and aio.h.  Not 
> sure I am getting the full story.  Will Cygwin ever support this?  (have an 
> aio.h header)?
> >  
> > Are there work arounds, patches, packages that can help?
> >  
> > I found asio, but not sure that does anything (no aio_xxx functions, etc).
> 
> AIO is not on anybodies agenda AFAIK.  It's certainly not on mine.  If
> you want to help out, see http://cygwin.com/contrib.html
> 
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
> 
> --
> 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/
> 


--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Asynchronous i/o
  2007-11-13 16:42 Asynchronous i/o mike_cygwin
@ 2007-11-13 17:28 ` Corinna Vinschen
  0 siblings, 0 replies; 13+ messages in thread
From: Corinna Vinschen @ 2007-11-13 17:28 UTC (permalink / raw)
  To: cygwin

On Nov 13 16:25, mike_cygwin@comcast.net wrote:
> New here, but I did review archives for info regarding AIO and aio.h.  Not sure I am getting the full story.  Will Cygwin ever support this?  (have an aio.h header)?
>  
> Are there work arounds, patches, packages that can help?
>  
> I found asio, but not sure that does anything (no aio_xxx functions, etc).

AIO is not on anybodies agenda AFAIK.  It's certainly not on mine.  If
you want to help out, see http://cygwin.com/contrib.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Asynchronous i/o
@ 2007-11-13 16:42 mike_cygwin
  2007-11-13 17:28 ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: mike_cygwin @ 2007-11-13 16:42 UTC (permalink / raw)
  To: cygwin

New here, but I did review archives for info regarding AIO and aio.h.  Not sure I am getting the full story.  Will Cygwin ever support this?  (have an aio.h header)?
 
Are there work arounds, patches, packages that can help?
 
I found asio, but not sure that does anything (no aio_xxx functions, etc).
 
Mike 

--
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/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: asynchronous I/O
@ 1997-10-13  9:19 Sergey Okhapkin
  0 siblings, 0 replies; 13+ messages in thread
From: Sergey Okhapkin @ 1997-10-13  9:19 UTC (permalink / raw)
  To: gnu-win32, 'hasslauer@ee.hnt.heller-machines.com'

hasslauer@ee.hnt.heller-machines.com wrote:
> Is it possible to use asynchronous I/O to notify the process that something of interest has 
> happend on a descriptor ?
> gnu-win32 doesn't define SIGIO and SIGPOLL.

Cygwin.dll with my patches supports async I/O on sockets.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-11-14 16:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-13  3:53 asynchronous I/O hasslauer
1997-10-13  9:19 Sergey Okhapkin
2007-11-13 16:42 Asynchronous i/o mike_cygwin
2007-11-13 17:28 ` Corinna Vinschen
2007-11-13 18:08 mike_cygwin
2007-11-14  9:34 ` Corinna Vinschen
2007-11-14 14:50 Mike_Cygwin
2007-11-14 14:57 Mike_Cygwin
2007-11-14 15:14 Mike_Cygwin
2007-11-14 15:23 ` Dave Korn
2007-11-14 15:34 Mike_Cygwin
2007-11-14 15:59 ` Dave Korn
2007-11-14 17:21 Mike_Cygwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).