Skip navigation.
 
mlRe: thread protocol modifiers
FROM : James Bucanek
DATE : Sun Jan 06 02:35:38 2008

William Zumwalt <mailto:<email_removed>> 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

Related mailsAuthorDate
mlthread protocol modifiers William Zumwalt Jan 5, 02:06
mlRe: thread protocol modifiers marcelo.alves Jan 5, 02:38
mlRe: thread protocol modifiers John Stiles Jan 5, 02:48
mlRe: thread protocol modifiers William Zumwalt Jan 5, 02:49
mlRe: thread protocol modifiers William Zumwalt Jan 5, 02:54
mlRe: thread protocol modifiers Ken Thomases Jan 5, 08:36
mlRe: thread protocol modifiers James Bucanek Jan 5, 17:09
mlRe: thread protocol modifiers William Zumwalt Jan 5, 22:35
mlRe: thread protocol modifiers William Zumwalt Jan 5, 22:44
mlRe: thread protocol modifiers James Bucanek Jan 6, 02:35
mlRe: thread protocol modifiers James Bucanek Jan 6, 02:35
mlRe: thread protocol modifiers William Zumwalt Jan 6, 03:35
mlRe: thread protocol modifiers glenn andreas Jan 6, 04:16
mlRe: thread protocol modifiers William Zumwalt Jan 6, 04:25
mlRe: thread protocol modifiers James Bucanek Jan 6, 08:04
mlRe: thread protocol modifiers William Zumwalt Jan 6, 09:28
mlRe: thread protocol modifiers Steve Weller Jan 6, 18:55