Re: kEAGAINErr and StateMachines
Re: kEAGAINErr and StateMachines
- Subject: Re: kEAGAINErr and StateMachines
- From: Quinn <email@hidden>
- Date: Fri, 28 Mar 2003 09:18:29 +0000
At 23:25 -0800 27/3/03, Duane Murphy wrote:
Any comments on this approach?
You should only get kEAGAINErr if you're running asynchronously.
It's typically generated when OT wants to load a module but can't
because it's running at interrupt time. Your suggested approach
(when you get the error, schedule a system task to continue your
state machine) is correct.
Any gotchas to be aware of?
There's the standard gotcha, which is that if the person who issued
the asynch request isn't calling SystemTask while waiting, the system
will deadlock. But there really isn't much you can do about that.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.