Re: Open Transport in OS 9
Re: Open Transport in OS 9
- Subject: Re: Open Transport in OS 9
- From: Quinn <email@hidden>
- Date: Wed, 28 Jan 2004 10:37:35 +0000
At 9:34 -0800 27/1/04, Jianzhe Li wrote:
Can I use the EventLoop timer in OS 9 ?
Yes. From your description, your algorithm seems fine (it's not the
highest performing solution but I expect that you're just looking for
something that works). I have a couple of suggestions.
1. SimpleDownloadHTTP installs a notifier that yields to other
threads. This makes sense in that context, but it doesn't really
make sense if you're sending and receiving from an event loop timer.
After the endpoint has connected, you probably should switch the
endpoint to non-blocking mode and remove the notifier.
2. I should be able to give you some debugging hints from the actual
crash itself. Please create a MacsBug stdlog and post it. If you
don't know how to do this, let me know and I'll explain.
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.