Re: thread protocol modifiers
Re: thread protocol modifiers
- Subject: Re: thread protocol modifiers
- From: James Bucanek <email@hidden>
- Date: Sat, 5 Jan 2008 18:35:38 -0700
William Zumwalt <mailto:email@hidden> wrote (Saturday,
January 5, 2008 2:44 PM -0600):
What pattern is it you think I'm doing?
It sounds a lot like a "worker" pattern where a thread operates
on a queue of pending jobs and posts the results when its done.
In this model, the worker is usually designed so that the "jobs"
are executed in a specific order.
A client/server using RPC is usually intended to provide
synchronous responses to queries from external processes. While
a worker could be implemented in a server, the server model
itself doesn't provide exactly what you're asking for.
I'm communicating between processes,
so ... after seeing my latest previous post which might clarify things, do
you still think I'm using the wrong communication method?
It's hard to say. We need to clear up the point about where
(same process or different process) your "server" thread is running.
--
James Bucanek
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden