Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Async read/write question.



Make sure you are not spinning in a wait loop for the async completion
as well. It will never complete until you yield time back to the system
to dispatch the completion.

It was curious to me to find out that the old cooperative multi-tasking
classic Mac OS could dispatch an async I/O completion at any time, but
the new high-tech premptive multi-tasking Mac OS X needed me to yield
time for it to do this.

> -----Original Message-----
> From: email@hidden 
> [mailto:email@hidden] On Behalf Of John Cebasek
> Sent: Thursday, October 09, 2003 12:43 PM
> To: email@hidden
> Subject: Async read/write question.
> 
> 
> Hi All:
> 
> If I'm writing to a pipe with WritePipeAsync(), and have called 
> CreateInterfaceAsyncEventSource() to get a run loop source, do I have 
> to call CFRunLoop?
> 
> 
> John Cebasek
> email@hidden _______________________________________________
> usb mailing list | email@hidden
> Help/Unsubscribe/Archives: 
> http://www.lists.apple.com/mailman/listinfo/us> b
> Do not post 
> admin requests to the list. They will be ignored.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >Async read/write question. (From: John Cebasek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.