Hi,
I am implementing a simple client/server using Distributed Objects. I
have a single server and a small number of clients. The clients are
all on the same machine so I communicate using an NSMachPort, and use
'NSConnection' 'registerName' to register a single connection name on
which to communicate. It all works fine. My only issue is that the
server is not threaded - so if if one client asks the server to do
something time-consuing the the request coming from a different next
client will have to wait.
So on to my question. I would like to implement a threaded server,
what I mean is I would like to have a small number of threads so that
concurrent requests can happen. If one thread is busy then the a free
thread can take up the challenge. Is it possible to have this on a
single named connection? If so could someone give me a few pointers or
a leg-up as to how to go about this.
Best regards
Alan Shouls
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com