Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: MPFileCopy still best example?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPFileCopy still best example?



Your main thread would do its job concurrently and possibly wait (or better periodically poll) at some point for the "disk" thread to finish.

Polling bad. Post a Carbon Event to the main thread when your done reading from the disk and have your main thread do other things while it's waiting (disabling any functions that require the disk thread's results of course).
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mt-smp mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >MPFileCopy still best example? (From: Mark Dawson <email@hidden>)
 >Re: MPFileCopy still best example? (From: Philippe Wicker <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.