Best practice for variables shared between processes?

Roger Burton West roger at
Mon Sep 20 22:35:34 BST 2010

On Mon, Sep 20, 2010 at 10:15:58PM +0100, Mark Fowler wrote:
>I had a better thought after my last post. Have one process create
>files and, when it's done with each file, atomically move them into a
>known directory for the second process to, um, process and delete then
>when done.

Threads may well be a better option for this particular role, but this
is the #2 choice.

Thanks to all who've answered.


More information about the mailing list