Da Zheng, le Tue 22 Dec 2009 23:04:55 +0800, a écrit :
>  I think we need to use process-shared mutexes,

Or better, process-shared condition variables.

> which is what I meant in the beginning.

Ok.

> When we protect the shared variable with a mutex, I don't think we
> need to use RPCs to synchronize two processes, right?

Well, I used "RPC" while I should probably have used "IPC", like a
process-shared mutex or condition variable.  Anyway, I believe that's
the same level of difficulty :)

Samuel


Reply via email to