Re: ThreadSafe issue with CFSocket
Re: ThreadSafe issue with CFSocket
- Subject: Re: ThreadSafe issue with CFSocket
- From: Douglas Davidson <email@hidden>
- Date: Fri, 19 Dec 2003 15:58:26 -0800
On Dec 19, 2003, at 6:39 AM, Pranav Kumar Sahu wrote:
Same has done for Read and Send. It works fine with no thread. When i
put
this code in multi thread environment CFSocketInvalidate(s); crashes
with
send callback.
Am i doing some thing wrong ? or CFSocket objects are not thread safe ?
You're not being terribly specific here. Yes, CFSockets are
thread-safe. However, "same has done for read and send" covers a lot
of ground, as does "crashes with send callback". Some code and a bt of
all threads after the crash would help.
Douglas Davidson
_______________________________________________
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.