rgheck wrote:
Attached is an updated version of this patch---updated for safety, basically. Instead of having a global variable LyX::IAmAChild, I've put a static private variable in ForkedProcess, where it can be read and written by the fork() routine, and then read via a static function. That way, nothing else can mess with it.

I'll commit Tuesday unless there are any concerns.

I think it is a good temporary solution but as I said in my other reply I don't think this will scale to multiple child processes running at the same time. It's a pity that fork() is not available on Windows, maybe it's time to introduces thread, even though I don't like them very much...

Abdel.

Reply via email to