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.



circa 10/13/03 8:42, Timothy Desrochers <email@hidden> wrote:

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

Don't be fooled by the high-level interface. You're not yielding time.
You're invoking a message queue serialization mechanism, some flavor of
which you would have had to write yourself under 9. Because it blocks, it
may feel like WaitNextEvent, but that's not what's going on under the
covers.

  -- 

    Pete Gontier
    http://www.m-audio.com/
_______________________________________________
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: 
 >RE: Async read/write question. (From: "Timothy Desrochers" <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.