CFSocket callbacks and thread-safety
CFSocket callbacks and thread-safety
- Subject: CFSocket callbacks and thread-safety
- From: David Aames <email@hidden>
- Date: Sat, 10 Jun 2006 23:20:55 +0100
Hello all again,
I would like to ask someone who knows whether it is okay for several
CFSockets to be bound the same callback (are calls queued?). Also my
callback will be calling a regulator object (which handles several
sockets) and my concern is whether the callback would call my
regulator from another thread or in some other non-serialized way (my
regulator method is not thread-safe). Should I be using a thread lock
for my regulator?
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden