in reply to Re: logging of processin thread logging of process
Take a look at IPC::Semaphore & KeyedMutex. I cannot help further as I don't run Linux.